阅读背景:

当我启动rails应用程序时,如何启动ruby服务器脚本?

来源:互联网 

I'd like for a ruby server script that lives in my rails app root folder to accept connections from clients (the clients are not browsers--not that this really matters i guess) and update the db of my rails app while my rails app is running. Therefore, I'd like for it to be told somehow to start running whenever my web server starts serving up my rails app and stop running whenever my web server stops serving my rails app. How can I do this? Is this as simple as putting the name/path of my ruby server script somewhere? I'd like for a ruby server script that lives in




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: