I know this question has been asked and answered many times, and I've read every Q&A on this subject, but I am still totally confused.
I am a Ruby noob, trying to get a Ruby app built (by someone else) with Sinatra and Strava to run as a service in Linux. It's a gateway that handles syncing Transifex language translations with github. I have forked the original code and fixed a number of bugs, to the point that it now works well. My repo is here:
https://github.com/Fabrik/txgh
The original docs only showed how to run it from the command line using "bundle exec rackup". I tried daemonizing by simply backgrounding the bundle command from rc.local, but that doesn't work. I'm not religious about using bundle, as this is running on a dedicated little Amazon ECS instance, and I won't be installing any other Ruby on it, so no danger of versioning problems. So a solution which doesn't use bundle is fine.
I'm guessing that the answer is probably to use the 'daemons' gem, and I have tried, but am getting nowhere.
If anyone could take a look at that github repo, and point me in the right direction, I would greatly appreciate it. I swear I've given this my best shot, and spent many hours googling and experimenting!
UPDATE
Since posting this, the Transifex authors have picked up development of this txgh gateway, merged the changes I needed, and tweaked it to be able to run on Heraku. Anyone needing to gateway between github and Transifex should go here: