xic
12-11-2007, 06:07 PM
I worked with samples in books...the ones I worked with work well, utilizing a local webserver (WEBRICK) and port 3000. Once I got past that, I wanted to learn how to do RoR on the web.
Well, RoR setup is a *little* different on HostMonster...but not much. First of all, follow the instructions from the following link:
http://helpdesk.hostmonster.com/kb/index.php?x=&mod_id=2&root=35&id=232
Hostmonster laid it out pretty well, and explains some of the differences when developing RoR on their system. However, there is one key ingredient they left out!
In the ~/rails/first/config/environment.rb file, you will need to comment out the following line (most servers have been upgraded to 2.0.1):
RAILS_GEM_VERSION = '1.2.5' unless defined? RAILS_GEM_VERSION
...and that's it! After banging my head against the wall for a week, now my rails sample program works! Thank you HostMonster support!
:D
Well, RoR setup is a *little* different on HostMonster...but not much. First of all, follow the instructions from the following link:
http://helpdesk.hostmonster.com/kb/index.php?x=&mod_id=2&root=35&id=232
Hostmonster laid it out pretty well, and explains some of the differences when developing RoR on their system. However, there is one key ingredient they left out!
In the ~/rails/first/config/environment.rb file, you will need to comment out the following line (most servers have been upgraded to 2.0.1):
RAILS_GEM_VERSION = '1.2.5' unless defined? RAILS_GEM_VERSION
...and that's it! After banging my head against the wall for a week, now my rails sample program works! Thank you HostMonster support!
:D