# Unable to deploy ruby on rails app?

**URL:** <https://www.ruby-forum.com/t/unable-to-deploy-ruby-on-rails-app/173060>\
**Category:** Deployment\
**Created:** [August 1, 2009, 3:29am UTC](https://www.ruby-forum.com/t/unable-to-deploy-ruby-on-rails-app/173060 "2009-08-01T03:29:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amyes](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ebca7d/32.png) [@amyes](https://www.ruby-forum.com/u/amyes)\
**Post date:** [August 1, 2009, 3:29am UTC](https://www.ruby-forum.com/t/unable-to-deploy-ruby-on-rails-app/173060/1 "2009-08-01T03:29:50Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![amyes](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ebca7d/32.png) [@amyes](https://www.ruby-forum.com/u/amyes)\
**Post date:** [August 1, 2009, 2:02pm UTC](https://www.ruby-forum.com/t/unable-to-deploy-ruby-on-rails-app/173060/2 "2009-08-01T14:02:02Z")

</div>

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

just call [http://localhost:3000](http://localhost:3000) or http://:3000 in a browser

---

<div class="post-metadata">

**Author:** ![amyes](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ebca7d/32.png) [@amyes](https://www.ruby-forum.com/u/amyes)\
**Post date:** [August 1, 2009, 3:27pm UTC](https://www.ruby-forum.com/t/unable-to-deploy-ruby-on-rails-app/173060/3 "2009-08-01T15:27:28Z")

</div>

Falk Pauser wrote:

> > =\> Booting Mongrel  
> > =\> Rails 2.3.2 application starting on [http://0.0.0.0:3000](http://0.0.0.0:3000)  
> > =\> Call with -d to detach  
> > =\> Crtl-C to shutdown server
> 
> just call [http://localhost:3000](http://localhost:3000) or http://:3000 in a browser

If I try to open [http://myserver:3000/](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
