Ruby server is shuted down after a while!

I’m typing this command to run my rails project:
ruby script/server -p 3000 -d
It’s working fine on the net
but after a while the server is off !
How can I run my project on dreamhost host for ever !
helpe me please :frowning:

Because of the shared nature of hosting here at Dreamhost, you can’t run the standalone server without violating the terms of service. You MUST use apache to route requests to your ruby app to “Play Nice” on DH.

The wiki has lots of info on lots of topics - one is Ruby on Rails

See if that helps you.

Wholly - Use promo code WhollyMindless for full 97$ credit. Let me know if you want something else!