PDA

View Full Version : How to keep my Ruby Application from Shutting Down?



bitpusher
05-07-2009, 03:56 PM
Hello,

I installed the "tracks" application which is a Ruby on Rails development. I'm personally not that familiar with the Ruby language, but I do have a vast programming history.

During the installation, the last step is to start the Ruby server with the shell command: "ruby script/server webrick -e production -p3005 &" from the root directory of the Ruby application. However, the Ruby server keeps stopping at some point.

I tried to create a new Ruby app using the cPanel and (after asking bluehost to enable the port), that seems to run fine--the cPanel gives the users the option to keep the application running and restart it when the server reboots. I then tried to overwrite the new Ruby directory with the "tracks" installation, but that didn't work (it kept showing the Ruby welcome screen).

Can anyone give any hint on how you would keep this Ruby app running on the server at all times?

thanks in advance!

BP