I’m running rails 2.1.2 on a hostmonster.com server where I don’t have
control over the web server for restarts. My problem is that I can
install gems, but they don’t seem to work and my app can never find them
and throws errors.
Loading development environment (Rails 2.1.2)
Missing these required gems:
ruby 22.214.171.1247 at /usr/bin/ruby
rubygems 1.3.1 at /home/marlibau/.gem/ruby/1.8, /usr/lib/ruby/gems/1.8
gem install ezcrypto
Successfully installed ezcrypto-0.7
1 gem installed
Installing ri documentation for ezcrypto-0.7…
Installing RDoc documentation for ezcrypto-0.7…
gem install acts_as_secure
Successfully installed acts_as_secure-0.0.3
1 gem installed
But then if I run ruby script/console, it throws the same error as
During all this my app otherwise runs correctly except it can’t use the
gems. When the web server does restart, then my app stops working and
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator, [email protected] and
inform them of the time the error occurred, and anything you might have
done that may have caused the error.
More information about this error may be available in the server error
Additionally, a 404 Not Found error was encountered while trying to use
an ErrorDocument to handle the request.
Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8i DAV/2
mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/126.96.36.19935 Server
at www.my_website.com Port 80
I have tried freezing rails / unfreezing rails, using include paths in
the environment.rb file, using “require” statements and I just have no
idea what else to do. The only thing that seems to solve it is to
remove the gems from the environment.rb file, but then I don’t get to
My plugins work fine once the server restarts so that is not an issue.
Anyone have any ideas?? Does my server just suck or is there something
I can do about this?