J
Jule Nissen
Hi!
I've run into some trouble while updating my ruby-version on ubuntu.
I installed ruby1.9.1 linked /usr/bin/ruby to ruby1.9.1
installed rubygems1.3.7 with ruby1.9.1.
My gem env output is this:
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.9.1 (2010-01-10 patchlevel 378) [i486-linux]
- INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.9.1
- RUBY EXECUTABLE: /usr/bin/ruby1.9.1
- EXECUTABLE DIRECTORY: /usr/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /usr/lib/ruby/gems/1.9.1
- /home/jule/.gem/ruby/1.9.1
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/
When I run
everything works fine!
Does ruby load a wrong gem version by default?
How is it possible to configure this?
Is it an ruby or an ubuntu issue?
Really don't know how to find a solution.
Thanks in advance.
landge
PS: I haven't set any environment variables
I've run into some trouble while updating my ruby-version on ubuntu.
I installed ruby1.9.1 linked /usr/bin/ruby to ruby1.9.1
installed rubygems1.3.7 with ruby1.9.1.
My gem env output is this:
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.9.1 (2010-01-10 patchlevel 378) [i486-linux]
- INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.9.1
- RUBY EXECUTABLE: /usr/bin/ruby1.9.1
- EXECUTABLE DIRECTORY: /usr/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /usr/lib/ruby/gems/1.9.1
- /home/jule/.gem/ruby/1.9.1
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/
When I run
ruby --disable-gems -S irb
require 'rubygems'
require 'ri_cal'
everything works fine!
Does ruby load a wrong gem version by default?
How is it possible to configure this?
Is it an ruby or an ubuntu issue?
Really don't know how to find a solution.
Thanks in advance.
landge
PS: I haven't set any environment variables