Hi,
I am using shared hosting.
Local Gem 'googlepagerank' is there but rails is not able load the GEM.
no such file to load -- googlepagerank
I have updated boot.rb with $:.push("/home/seotoolb/ruby/gems") and
restarted the server too.
Please help!
Thanks
on 2009-11-21 08:47
on 2010-02-15 09:11
Nirbhab Barat wrote: > Hi, > > I am using shared hosting. > Local Gem 'googlepagerank' is there but rails is not able load the GEM. > > no such file to load -- googlepagerank > > I have updated boot.rb with $:.push("/home/seotoolb/ruby/gems") and > restarted the server too. > > Please help! > > Thanks Try to play with $HOME environment variable. For example: - I use shared hosting - I use fastcgi - I haven't access to apache users's home and global gem repository - I can install gem into my home directory - check gem path $ gem env path /home/avsej/.gem/ruby/1.8:/opt/ruby/lib/ruby/gems/1.8 - add to dispath.fcgi something like: ENV['HOME'] = '/home/avsej' - now when apache starts fastcgi dispatcher process it use my home instead of its
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.