I'm just wondering whether I didn't get something. I read through some Capistrano tutorials, and they don't seem to mention anything about starting/restarting the Rails app on the server. It just seems to happen right out of the box.
Well, in my case it doesn't. I have to manually cd into the releases/current folder and run something like bin/rails -e production after each release. Why's that? Do I misunderstand something? Is Capistrano only responsible for copying files to my host, but not for running my Rails app on it? Is this the reason why capistrano-puma gem exists? 🤔
I'm just wondering whether I didn't get something. I read through some Capistrano tutorials, and they don't seem to mention anything about starting/restarting the Rails app on the server. It just seems to happen right out of the box.
Well, in my case it doesn't. I have to manually
cd
into thereleases/current
folder and run something likebin/rails -e production
after each release. Why's that? Do I misunderstand something? Is Capistrano only responsible for copying files to my host, but not for running my Rails app on it? Is this the reason whycapistrano-puma
gem exists? 🤔