I love Rails, but I'm beginning to think that there are some very
broken things about it. Case in point:

- I'm on OS X, and at some point added rails using MacPorts, putting
most of my gems in /opt/local/lib/ruby/gems/1.8

- when I add gems, they are added in that directory BUT

- when I run (eg) rake tasks, the gems are not found. I've tried
using

ENV['GEM_PATH'] = '/opt/local/lib/ruby/gems/1.8'

to force the app to only look there, but it still doesn't see them. I
get messages like

Missing these required gems:
  rmagick
  authlogic

You're running:
  ruby 1.8.7.174 at /System/Library/Frameworks/Ruby.framework/Versions/
1.8/usr/bin/ruby
  rubygems 1.3.5 at /opt/local/lib/ruby/gems/1.8, /Library/Ruby/Gems/
1.8

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

Which I do, using sudo, and everything seems to go fine, but when I
run rake again, they aren't seen.

Where am I going wrong? What is wrong with Rails that this can't be
configured simply? What is wrong with me that I can't figure this out?

-- 
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