Hi All,
I am fairly new to rails and have only done development on localhosts.
I am trying to set up a development server on rackspacecloud and
following the tutorial at http://www.catapult-creative.com/2009/02/04/installing-rails-on-centos-5/comment-page-1/.
I have followed all instructions on the page and opened up port 80 in
the firewall and am having issues trying to get a sample app to run.
http://174.143.147.136/myapp/ so you can see what I mean. It seems
like the passenger engine is not actually starting the engine at all.
Has anyone encountered this, or perhaps does anyone have any better
methods to utilize in deploying a web server for rails?
What web server are you using, and which platform are you on? Windows,
Mac OSX, Linux etc...
Mac comes with WEBrick and I've never had any issues with it.
If you're on windows, instant rails might help as I think this does a
lot of it for you. Google it and see.
Hope this helps.
Jess,
The tutorial you linked to is missing a vital step; with Passenger,
you have to add a virtual host to httpd.conf (or httpd-vhosts.conf)
for your application. If you already have one of these, make sure it
points to the "public" folder in your Rails app, and not the root
directory.
See the Passenger documentation for more information about the virtual
host configuration:
http://www.modrails.com/documentation/Users%20guide%20Apache.html#_deploying_a_ruby_on_rails_application
Best regards,
Sebastian