ruby version

Colin Law clanlaw at gmail.com
Mon Jun 8 08:02:03 UTC 2015


On 8 June 2015 at 08:53, Anshu Prateek <ansh.prat at gmail.com> wrote:
> Thanks Colin, Brian,
>
> Well this is in production where managing ruby through other managers would
> be a pain. (Its presently managed via puppet).
>
> So, as a follow up, is ruby2.1 from 15.04 can be repackaged (lets say for a
> private repo) and then be used with 14.04?

Googling for
ruby ppa
found this amongst others
https://www.brightbox.com/docs/ruby/ubuntu/

Colin

>
> On Mon, 8 Jun 2015 at 13:13 Colin Law <clanlaw at gmail.com> wrote:
>>
>> On 8 June 2015 at 06:38, Anshu Prateek <anshprat at fedoraproject.org> wrote:
>> > Hi,
>> >
>> > This could be an already discussed topic but google search did not help
>> > me
>> > with this.
>> >
>> > In trusty, the stable ruby is 1.9.3-p484.
>> >
>> > While ruby has EOLed 1.9.3
>> >
>> >
>> > https://www.ruby-lang.org/en/news/2015/02/23/support-for-ruby-1-9-3-has-ended/
>> >
>> > There is a ruby2.0 available, but that also has ruby as dependency hence
>> > again pulling 1.9.3.
>> >
>> > So whats the plan about about upgrading ruby stable to supported
>> > version?
>>
>> Ubuntu policy is generally to not upgrade major releases of software.
>> For example, in this case if it automatically updated then some ruby
>> code would suddenly stop working.
>>
>> If you upgrade Ubuntu you will of course get a later ruby.  On 15.04 it is
>> 2.1.0
>>
>> However I absolutely concur with Brian's suggestion to use rvm.  Then
>> you can easily upgrade and also have multiple versions of Ruby
>> available on the same machine so that existing code will continue to
>> function.
>>
>> Colin
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>



More information about the ubuntu-users mailing list