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

Posted by 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
Posted by 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
Posted by 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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.