Package: libruby2.1

Version: 2.1.5-2+deb8u1

dpkg says libruby2.1 is version 2.1.5, but in
RbConfig::CONFIG['ruby_version'], and in /usr/lib/ruby/2.1.0, it says it is
version 2.1.0.

In /usr/lib/ruby/2.1.0/rubygems/defaults.rb, it is saying that
RbConfig::CONFIG['ruby_version'] is version '2.1.0'.


The problem, looking in '/usr/lib/ruby/2.1.0/rubygems/defaults.rb'.  It is
assigning my gempath to: Gem.user_home, '.gem', ruby_engine,
RbConfig::CONFIG['ruby_version'], and RbConfig::CONFIG['ruby_version'] is
equal to '2.1.0

 Now.  I have ruby 2.1.3, and my gempath is: /home/shawn/.gem/ruby/2.1.3'
because the package 'ruby2.1' is installing to ~/.gem/ruby/2.1.3.

Now why is there a /usr/lib/ruby/2.1.0 on my system saying my ruby version
is '2.1.0', and saying that my gempath is ~/.gem/ruby/2.1.0?

 /usr/lib/ruby/2.1.0 is coming from debian package 'libruby2.1', and my
debian package 'ruby2.1' is ruby 2.1.3, and actually installing the gems to
~/.gem/ruby/2.1.3.

uname -r:

> Linux shawnlaptop 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24)
> x86_64 GNU/Linux
>


Let me know if you have any questions, or if I made any mistakes.

Best,

Shawn


-- 
"Courage, my friends; 'tis not too late to build a better world."
                                        -Tommy Douglas

Reply via email to