puma plus bundler: launch app using pumactl, but bundler aware
|Added at||2016-12-13 20:12|
I'm creating a Puma/Sinatra app and would like to use bundler to manage gem versions. I have a Gemfile, Gemfile.lock, etc. I can launch my app via:
But I'd also like to set up an init.d script to run the app as a service, and for that I was planning to use
I tested this by requiring ActiveRecord 5.0+ in my Gemfile, running
Is there a way to use pumactl in conjunction with bundler so that the app will get the gem versions specified in Gemfile.lock?