Forum: Rails deployment Unable to deploy ruby on rails app?

B89497efc7301a6d991eb4a4fa38a4c7?d=identicon&s=25 Amy Es (amyes)
on 2009-08-01 03:29

I am unable to run ruby on rails application. I setup the database and
loaded database schema. When I run:

ruby script/server -e production

It says:

=> Booting Mongrel
=> Rails 2.3.2 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Crtl-C to shutdown server

and it just stays there. If I go to the directory where the app is
installed, it just lists the directory of files and doesn't run the app.
Any suggestions?

Thanks
1d4e8af8b8b8fd86b8fbfa70d9e7adc7?d=identicon&s=25 Falk Pauser (fpauser)
on 2009-08-01 14:02
> => Booting Mongrel
> => Rails 2.3.2 application starting on http://0.0.0.0:3000
> => Call with -d to detach
> => Crtl-C to shutdown server

just call http://localhost:3000 or http://<yourserver>:3000 in a browser
B89497efc7301a6d991eb4a4fa38a4c7?d=identicon&s=25 Amy Es (amyes)
on 2009-08-01 15:27
Falk Pauser wrote:
>> => Booting Mongrel
>> => Rails 2.3.2 application starting on http://0.0.0.0:3000
>> => Call with -d to detach
>> => Crtl-C to shutdown server
>
> just call http://localhost:3000 or http://<yourserver>:3000 in a browser

If I try to open http://myserver:3000/ in a browser, I just get a
connection timed out error. I also tried to run it in development mode:

ruby script/server -e development

But I get the following error:

=> Booting Mongrel
=> Rails 2.3.2 application starting on 0.0.0.0:3000
/usr/lib/ruby/gems/1.8/gems/mysql/1-2.7/lib/mysql.so [BUG] Segmentation
fault
ruby 1.8.7 (2008-06-20 patchlevel 22) [i686-linux]

I can view the directory of files and code in the browser if I just go
to myserver/railsapp
This topic is locked and can not be replied to.