In the directory of my rails app i run:

>>ruby script/console
Rails requires RubyGems >= . Please install RubyGems and try again:
http://rubygems.rubyforge.org

gem -v
1.3.1

gem list | grep rails
rails (2.2.2, 2.1.2)

gem list | grep rubygems
rubygems-update (1.3.1)

gem environment
RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.1
  - RUBY VERSION: 1.8.4 (2005-12-24) [i586-linux]
  - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
  - RUBY EXECUTABLE: /usr/bin/ruby
  - EXECUTABLE DIRECTORY: /usr/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-linux
  - GEM PATHS:
     - /usr/lib/ruby/gems/1.8
     - /root/.gem/ruby/1.8
   ...

ruby --version
ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-linux]

There is a mismatch between the Ruby version returned by 'gem
environment' and ruby --version
Anyone know if this is normal? I don't really know if this is causing
the problem

Other ideas?
-- 
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to