That definitely works in the interim but gemsets in RVM have a couple more features on top of them. For example, one I use frequently is the global gemset, which lets me install gems that are then available to all gemsets. So say I always use Proper for testing, then I could put that in my global gemset but only install misultin or riak_core or a per project basis. More on RVM gemsets: <a href="https://rvm.beginrescueend.com/gemsets/">https://rvm.beginrescueend.com/gemsets/</a><div>
<br></div><div>Another nice addition would be .kerl files (like .rvmrc files). This would specify what build (and if something like gemset were implemented what gemset), on a per directory basis. Changing into a directory with a .kerl file would cause the current build to switch to the one specified in the file</div>
<div>(here is RVMs .rvmrc docs for reference <a href="https://rvm.beginrescueend.com/workflow/rvmrc/">https://rvm.beginrescueend.com/workflow/rvmrc/</a>). </div><div><br></div><div>Again, really awesome stuff. Just making some suggestions based on my needs. Maybe I'll have some extra time to read the code & submit a patch.</div>
<div><br></div><div>Cheers,</div><div><br></div><div>Jordan<br><br><div class="gmail_quote">On Wed, Apr 13, 2011 at 6:13 AM, Evax Software <span dir="ltr"><<a href="mailto:contact@evax.fr">contact@evax.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Thanks to both of you for this very positive feedback !<br>
<br>
Agner is sandboxed per installation and not per build, so I guess you<br>
can already do what you want with kerl.<br>
<br>
Let's say you want to test drive two misultin versions.<br>
<br>
First create a named build:<br>
$ kerl build R14B02 r14b02<br>
<br>
Then create two installations (sandboxes):<br>
$ kerl install r14b02 /path/to/r14b02_misultin_0.6.2<br>
$ kerl install r14b02 /path/to/r14b02_misultin_0.7<br>
<br>
And finaly install different versions of the same package in each one:<br>
$ . /path/to/r14b02_misultin_0.6.2/activate<br>
$ agner install misultin -v 0.6.2<br>
<br>
$ . /path/to/r14b02_misultin_0.7/activate<br>
$ agner install misultin -v 0.7<br>
<br>
Evax<br>
<br>
Le mardi 12 avril 2011 à 10:49 -0700, Jordan West a écrit :<br>
<div><div></div><div class="h5">><br>
> Really nice stuff. Reminds me of Ruby Version Manager, which is<br>
> something I<br>
> was hoping for in Erlang. I would suggest looking into some of RVMs<br>
> features. Dependency sets (like RVMs gemsets) would be a nice touch on<br>
> top<br>
> of the ability to sandbox agner per OTP build.<br>
><br>
> Jordan<br>
><br>
> On Tue, Apr 12, 2011 at 10:12 AM, Ahmed Omar <<a href="mailto:spawn.think@gmail.com">spawn.think@gmail.com</a>><br>
> wrote:<br>
><br>
> > very nice! Will give it a try!<br>
> ><br>
> ><br>
> > On Tue, Apr 12, 2011 at 5:49 PM, Evax Software <<a href="mailto:contact@evax.fr">contact@evax.fr</a>><br>
> wrote:<br>
> ><br>
> >> Hi all,<br>
> >><br>
> >> kerl is a script allowing the easy management of sandboxed<br>
> Erlang/OTP<br>
> >> installations on Unix systems.<br>
> >><br>
> >> Among the features:<br>
> >> * shell agnostic<br>
> >> * fetches and builds Erlang/OTP from the official releases or from<br>
> git<br>
> >> * native agner support<br>
> >> * easy and fast sandbox creation<br>
> >> * easy switching between different sandboxes (similar to Python's<br>
> >> virtualenv)<br>
> >><br>
> >> Check the project page:<br>
> >> <a href="https://github.com/evax/kerl" target="_blank">https://github.com/evax/kerl</a><br>
> >><br>
> >> Feedback is welcome !<br>
> >><br>
> >> Evax<br>
> >><br>
> >><br>
> >> _______________________________________________<br>
> >> erlang-questions mailing list<br>
> >> <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
> >> <a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
> >><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > Best Regards,<br>
> > - Ahmed Omar<br>
> > <a href="http://nl.linkedin.com/in/adiaa" target="_blank">http://nl.linkedin.com/in/adiaa</a><br>
> > Follow me on twitter<br>
</div></div>> > @spawn_think <<a href="http://twitter.com/#!/spawn_think" target="_blank">http://twitter.com/#!/spawn_think</a>><br>
<div><div></div><div class="h5">> ><br>
> ><br>
> > _______________________________________________<br>
> > erlang-questions mailing list<br>
> > <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
> > <a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
> ><br>
> ><br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>