Calling erlang shell from the command line

Luke Bakken lbakken at basho.com
Mon Nov 14 15:02:29 EST 2016


Hi Arun -

When you install Riak it installs the Erlang VM to a well-known location,
like /usr/lib/riak/erts-5.9.1

You can use /usr/lib/riak/erts-5.9.1/bin/erlc and know that it is the same
Erlang that Riak is using.

--
Luke Bakken
Engineer
lbakken at basho.com

On Mon, Nov 14, 2016 at 11:20 AM, Arun Rajagopalan <
arun.v.rajagopalan at gmail.com> wrote:
> Hi RIAK users
>
> I would like to attach to the riak shell and compile an .erl program and
> quit. The reason is I want to be absolutely sure I am building the erl
> program with the version of erlang that my riak installation has
>
> Something like
> riak attach c(myprog.erl).
> Ctr-C a
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20161114/7490f82a/attachment-0002.html>


More information about the riak-users mailing list