On Wed, May 19, 2010 at 12:24 PM, Rick DeNatale <rick.denat...@gmail.com> wrote:
> [...]
>
> Well rubygems can't do it by it self, but for POSIX systems supporting
> bash or zsh at least RVM allows very fine-grained control over
> gemsets, not just for different Ruby implementations, but for
> different versions, and even for individual projects.
>
> http://rvm.beginrescueend.com/
>

RVM helps for development and testing, for sure, but do not help you
putting the gem in the wild without preparation to be able to handle
different Ruby versions, you can specify ~> to limit it to 1.8.x
series, but you can't ship 2 gem versions, one for 1.8 and 1.9
differently.

> With apologies to Luis, I don't think this helps Windows users.
> Perhaps it might inspire a windows solution though for those who want
> that.

No need to apologize, there is the Windows equivalent: Pik:

http://github.com/vertiginous/pik

All my installed versions:

>pik ls
100: IronRuby 1.0.0.0 on .NET 4.0.30319.1
141: jruby 1.4.1 (ruby 1.8.7 patchlevel 174) (2010-04-26 ea6db6a)
(Java HotSpot(TM) Client VM 1.6.0_18) [x86-java]
150: jruby 1.5.0 (ruby 1.8.7 patchlevel 249) (2010-05-12 6769999)
(Java HotSpot(TM) Client VM 1.6.0_18) [x86-java]
186: ruby 1.8.6 (2009-06-08 patchlevel 369) [i386-mswin32]
186: ruby 1.8.6 (2010-02-04 patchlevel 398) [i386-mingw32] *
187: ruby 1.8.7 (2009-12-24 patchlevel 248) [i386-mswin32]
187: ruby 1.8.7 (2010-01-10 patchlevel 249) [i386-mingw32]
191: ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-mswin32]
191: ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]
192: ruby 1.9.2dev (2010-04-23 trunk 27453) [i386-mingw32]

-- 
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
Rubygems-developers@rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to