I’ve just developed my first 2 rails apps but can’t get them to work on
my server. The support guys are saying something’s wrong with my
application because it generates this error:
./…/config/boot.rb:29: undefined method `gem’ for main:Object
Everything is the same version, I’ve checked that extensively. I’m
running Ruby 1.8.5 and Rails 1.2.3. I developed on Apache and MySQL as
that’s my host’s setup.
One point of confusion for me is that I’ve developed this with
InstantRails 1.6 as my test server which runs Rails 1.2.2, but my
environment.rb says 1.2.3. I ran ‘gem --update-system’, would that
It’s pretty urgent that I get this going so if anyone can help me or
point me to a troubleshooting tutorial or whatever I’d be grateful.