PDA

View Full Version : RoR: Where should my environment.rb look for gems?


bambino_tostare
09-14-2007, 05:37 AM
I've got it so that i can install gems for my rails app, after help from some posts on this forum. However, my app still isn't finding them - for example, i installed the hpricot gem, but when i uncomment

require 'hpricot'

in my environment.rb the app falls over.

I think this is because it's not looking in the right place for the gems: in my ftp client, i can go to the root folder, and see that they are in ~/.gems/gems/. But, i don't know how to tell environment.rb to look there! Can anyone help please?