Ruby v1.9.3 installed side by side with v1.8.7 - called by Rails apps with "RUBY_VERSION = x.y.z" ?

Dmitri Dolguikh dmitri at redhat.com
Tue Jun 5 21:26:42 UTC 2012


On 12-06-05 9:32 AM, Vít Ondruch wrote:
> Dne 4.6.2012 20:23, Philip Rhoades napsal(a):
>> Vit,
>>
>> I would prefer to avoid using RVM - is it possible to install (on 
>> Fedora 16 x86_64 in this case) both versions of Ruby and for the 
>> individual Rails apps to select which version of Ruby to use by the 
>> setting of a variable like:
>>
>>   RUBY_VERSION = x.y.z
>>
>> in the config environment for each app?
>>
>> Thanks,
>>
>> Phil.
>
> Hi Phillip,
>
> Unfortunately that is not possible.
>
> We were experimenting with Software Collections [1], but they were 
> more or less banned from Fedora by FPC. While there are some 
> experimental collections, such as [2], I am not sure in what condition 
> they are, so I cannot recommend them.
>
>
> Vit
>
>
> BTW Ruby-SIG mailing list would be better place for such questions, 
> because more people might be interested, or could provide better 
> answer then me. Lets move the discussion there.
>
>
>
> [1] https://fedorahosted.org/SoftwareCollections/
> [2] http://bkabrda.fedorapeople.org/scl_1.8.7_01-27/
> _______________________________________________
> ruby-sig mailing list
> ruby-sig at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/ruby-sig
An alternative to rvm would be to try using rbenv [1]. It should work 
(at least when it's not used to manage system-wide rubies), but I have 
yet to try it.
-d

[1] https://github.com/sstephenson/rbenv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/ruby-sig/attachments/20120606/80610c05/attachment.html>


More information about the ruby-sig mailing list