Im running ruby on rails on A debian VPS package.
I have installed ruby / rails all fine. I am now having a problem
running my project and serving it out to the www. I have created a
project called "test" in :
/var/www/vhosts/mydomain.com/test
I have installed the mongrel gem and im trying to run the service by
using the command:
mongrel_rails start -a 127.0.0.1
when i try to access www.mydomain.com:3000/test i just get the page
hangining briefly before timing out.
any ideas on what im doing wrong? there are no ports blocked on my
firewall currently so that all appears to be fine and port 3000 should
be accessible from the www.
Cheers,
Chris
--
Posted via http://www.ruby-forum.com/.
Thanks for the reply Alex.
I have actually attempted to run the command you suggested on its own
and it still doesnt serve the project for me.
I cant work out whats wrong here at all.
vps-1000885-330:/var/www/vhosts/chris-gallagher.com/test# mongrel_rails
start
** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready. TERM => stop. USR2 => restart. INT => stop (no
restart).
** Rails signals registered. HUP => reload (without restart). It might
not work well.
** Mongrel 1.1.5 available at 0.0.0.0:3000
** Use CTRL-C to stop.
vps-1000885-330:/var/www/vhosts/chris-gallagher.com/httpdocs/test#
mongrel_rails start -a 78.153.208.167
** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
** Starting Mongrel listening at 78.153.208.167:3000
** Starting Rails with development environment...
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready. TERM => stop. USR2 => restart. INT => stop (no
restart).
** Rails signals registered. HUP => reload (without restart). It might
not work well.
** Mongrel 1.1.5 available at 78.153.208.167:3000