[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ruby version on sid



On Thu, Jul 07, 2016 at 05:31:51PM +0200, Marwan Rabbâa wrote:
> Hello all,
> 
> On debian sid, the version provided by ruby is
> 
> *2.3.1*
> However, when I run an
> 
> apt-cache show ruby
> 
> I can find that version is *1:2.3.0+4*
> 
> What this version stands for ?

$ dpkg-query --show ruby ruby2.3
ruby	1:2.3.0+4
ruby2.3	2.3.1-5
$ apt-cache show ruby | grep Depends
Depends: ruby2.3

ruby is an empty package that depends on the actual ruby package which is
called rubyX.Y, currently ruby2.3. This is the mechanism we use to be able to
switch ruby versions at very specific times.

the fact that the ruby package is still versioned as 2.3.0 just means that we
did not need to update ruby since we switched to ruby2.3 2.3.0.

Attachment: signature.asc
Description: PGP signature


Reply to: