hi - i have a hosted app on dreamhost, i made some change to environment.rb and it totally screwed up my app. I cannot remember what i did. So, i decided to recreate it by deleting environment.rb and running rails myapp. everything works fine, except when use one of my controllers, it dies. the error is that it cannot locate blackbook (a gem). blackbook is there and the GEM_PATH and GEM_ROOT both point to the right place. In irb, i do: require 'rubygems' require 'blackbook' the first returns true, the second returns this: LoadError: no such file to load -- openssl So, I screwed something up. I don't have root access and I'm 90% sure this can be fixed by correcting something in environment.rb, but I don't know what. Can anyone give me a push in the right direction? Thanks, Dino
on 2008-10-22 17:57
on 2008-10-22 19:59
is openssl installed? Is this centos? rpm -qa | grep openssl If you get that in irb its not a environment.rb issue....
on 2008-10-22 20:02
well, as far as i know, i don't purposely use openssl, anyway, i've recompiled ruby and that problem is now solved. now i can load the blackbook gem from irb, but it still dies from the application, i get: MissingSourceFile (no such file to load -- blackbook) but in irb if i do require 'blackbook' i get true (success) so somehow, it seems,my app is not getting the right gems path. any ideas?