Hi all,
This appears to be wrong, I''m not sure how to fix it.
Here''s my output from "gem environment"
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]
- INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/bin/ruby1.8
- EXECUTABLE DIRECTORY: /usr/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /usr/lib/ruby/gems/1.8
- /home/ed/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/
And here''s "ruby -v"
ruby 1.9.1p0 (2009-01-30 revision 21907) [x86_64-linux]
So gem has the wrong version of ruby in the environment. I suspect this
may be the reason of some weird errors I''ve been seeing. So how do I
change the gem environment?
Thanks,
Eddie
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
On Nov 20, 2010, at 5:33 PM, Eddie Du wrote:> Hi all, > > This appears to be wrong, I''m not sure how to fix it. > Here''s my output from "gem environment" > > > RubyGems Environment: > - RUBYGEMS VERSION: 1.3.7 > - RUBY VERSION: 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux] > - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8 > - RUBY EXECUTABLE: /usr/bin/ruby1.8 > - EXECUTABLE DIRECTORY: /usr/bin > - RUBYGEMS PLATFORMS: > - ruby > - x86_64-linux > - GEM PATHS: > - /usr/lib/ruby/gems/1.8 > - /home/ed/.gem/ruby/1.8 > - GEM CONFIGURATION: > - :update_sources => true > - :verbose => true > - :benchmark => false > - :backtrace => false > - :bulk_threshold => 1000 > - REMOTE SOURCES: > - http://rubygems.org/ > > > And here''s "ruby -v" > > > ruby 1.9.1p0 (2009-01-30 revision 21907) [x86_64-linux] > > > So gem has the wrong version of ruby in the environment. I suspect > this > may be the reason of some weird errors I''ve been seeing. So how do I > change the gem environment?You need to install gem (and all your gems) again, under the new ruby. Each ruby gets its own gems, stored in its own version tree. Walter -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Great, that worked! Thank you -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 20 November 2010 22:33, Eddie Du <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> [...] > And here''s "ruby -v" > > ruby 1.9.1p0 (2009-01-30 revision 21907) [x86_64-linux]On a side note I believe ruby 1.9.1 does not work well with Rails (at least Rails 3, don''t know about 2). The recommendation is to use 1.9.2. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hello, I read it, aslo it worked. But still think using RVM is much better solution, later you won''t have headache, and you can use more then 1 Ruby+Rails+Gem versions on same system. http://rvm.beginrescueend.com/ Good luck Zoltán On nov. 21, 09:28, Colin Law <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> On 20 November 2010 22:33, Eddie Du <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > > > [...] > > And here''s "ruby -v" > > > ruby 1.9.1p0 (2009-01-30 revision 21907) [x86_64-linux] > > On a side note I believe ruby 1.9.1 does not work well with Rails (at > least Rails 3, don''t know about 2). The recommendation is to use > 1.9.2. > > Colin-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.