Unable to deploy ruby on rails app?

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

=> 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://:3000 in a browser

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://: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