Hi,

I'm having a weird problem:

[~/rails/hip]# rake routes
(in /home/mydomain/rails/hip)
Missing these required gems:
  ruby-openid  >= 2.0.4

You're running:
  ruby 1.8.6.287 at /usr/bin/ruby
  rubygems 1.3.1 at /home/mydomain/.gem/ruby/1.8, /usr/lib/ruby/gems/1.8

Run `rake gems:install` to install the missing gems.

------------

I found it when trying to run a migration with rake.
BUT the ruby-openid gem is installed and is working in the application,
I can use it.

-----------

This is what I have in the environment.rb:
ENV['GEM_PATH'] = '/home/mydomain/ruby/gems'

Removing that causes the app not to start.

-----------

This is what I get with gem env:

RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.1
  - RUBY VERSION: 1.8.6 (2008-08-11 patchlevel 287) [x86_64-linux]
  - INSTALLATION DIRECTORY: /home/mydomain/ruby/gems
  - RUBY EXECUTABLE: /usr/bin/ruby
  - EXECUTABLE DIRECTORY: /home/mydomain/ruby/gems/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-linux
  - GEM PATHS:
     - /home/mydomain/ruby/gems
     - /home/mydomain/.gem/ruby/1.8
     - /usr/lib/ruby/gems/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
     - "gem" => "--remote --gen-rdoc --run-tests"
     - "gemhome" => "/home/mydomain/ruby/gems"
     - "gempath" =>
["/home/mydomain/.gem/ruby/1.8:/usr/lib/ruby/gems/1.8"]
     - "rdoc" => "--inline-source --line-numbers"
  - REMOTE SOURCES:
     - http://gems.rubyforge.org/

----------------

Any hints anyone??

Btw it is funny that running gem which ruby-openid gives:
Can't find ruby library file or shared library ruby-openid

But that should be ok, I get the same in my local environment.

Thank you in advance.
-- 
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