Help! I’m kinda stuck…I’m pretty sure that I somehow need to
‘freeze’ RubyGem itself (aka gem) although given the error below, I’m
not sure. I can’t downgrade & freeze to the rails version on the host
since my app depends on some Rails2x stuff.
If indeed I need to ‘freeze’ gem’, is there standard way to do this?
or any idea as to what exactly I’d need to do (i.e. how do I get my
app to “see” the correct ‘gem’ command).
The reason I ask is because I’m getting this error message spewing
from my app on a shared host:
gem' for main:Object (NoMethodError) from /httpdocs/newsite/app/vendor/rails/activerecord/lib/../../ activesupport/lib/active_support.rb:26:inrequire’
require' from /httpdocs/newsite/app/vendor/rails/activerecord/lib/ active_record.rb:31 from ./../config/../vendor/rails/railties/lib/initializer.rb:156:inrequire’
require_frameworks' from ./../config/../vendor/rails/railties/lib/initializer.rb:156:ineach’
require_frameworks' from ./../config/../vendor/rails/railties/lib/initializer.rb:88:inprocess’
send' from ./../config/../vendor/rails/railties/lib/initializer.rb:49:inrun’
from dispatch.cgi:3:in `require’
[client ] Premature end of script headers: /
Of course the app gives:
Rails application failed to start properly"
The app is running fine on my development box with InstantRails 2.x
ruby: 1.8.6 patchlevel 111
Unfortunately my host is running rails 1.1.2, and I don’t have shell
access so this is all the info I’ve got there:
Or am I totally stuck & have to see if they’ll upgrade ruby on the