<div dir="ltr">Hi Andrew,<div><br></div><div>Been awhile since I tried this but if you are using relx there is a --include-erts=$PATH_TO_EXTRACTED_LINUX_ERTS ( {include_erts, <span style="font-family:'helvetica neue',helvetica,arial,sans-serif;line-height:1.5">$PATH_TO_EXTRACTED_LINUX_ERTS</span><span style="line-height:1.5">} for rebar) that you can use</span></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, May 18, 2016 at 12:42 AM Andrew Berman <<a href="mailto:rexxe98@gmail.com">rexxe98@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi List,<div><br></div><div>So today I tried to create a release using rebar3 from my Mac and deploy it to a CentOS box.  Everything works when I do not include ERTS (and have Erlang installed on the target), but if I do include ERTS, things fail (can't run run_erl), I'm assuming because the Mac version of Erlang can't be run on CentOS, which makes sense.  <span style="line-height:1.5">So, I wanted to know how people do deployments of their Erlang releases.  Do you set up boxes with each OS that matches your target OS and compile on there, including ERTS in the release?  Do you not include ERTS and make sure that all your Erlang installs are the exact same version?   Just trying to figure out a good workflow.</span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">Thanks for any advice!</span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">Andrew</span></div></div>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div>