Why is my gem "INSTALLATION HANDBOOK:" ... 1.9.1, when "RUBY VERSION": 1.9.3

Possible duplicate:
Why are stones installed in the 1.9.1 directory when my version of Ruby is different from version 1.9.1?

I installed Ruby 1.9.3-p0 on an RHEL 6 system (Linux 2.6.32-122.el6.x86_64), downloading the source code and compiling it. I did not use any options. Just ./configure , make and make install .

When I start the gem environment , I get ...

 $ gem environment RubyGems Environment: - RUBYGEMS VERSION: 1.8.17 - RUBY VERSION: 1.9.3 (2011-10-30 patchlevel 0) [x86_64-linux] - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.9.1 - RUBY EXECUTABLE: /usr/local/bin/ruby - EXECUTABLE DIRECTORY: /usr/local/bin - RUBYGEMS PLATFORMS: - ruby - x86_64-linux - GEM PATHS: - /usr/local/lib/ruby/gems/1.9.1 - /root/.gem/ruby/1.9.1 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - REMOTE SOURCES: - http://rubygems.org/ 

Check out the links to "/ usr / local / lib / ruby ​​/ gems / 1.9.1 ". Shouldn't be " 1.9.3 "?

I ran gem update --system and it displays "1.9.1" both before and after I did it.

+2
source share
1 answer

I do not think so. I have Ruby 1.9.2, but the directory is still 1.9.1. I think this is for backward compatibility with gems from previous minor versions.

+2
source

Source: https://habr.com/ru/post/1493110/


All Articles