Need to restart Puma to reflect changes in view?
NickName:Enrique Moreno Tent Ask DateTime:2015-08-13T18:37:24

Need to restart Puma to reflect changes in view?

I just pushed some new changes to my newly deployed Rails 4 app. More precisely some changes in the view file.

To my desmay, after pushing the changes, the website still showed the same old view. I investigated quite a bit, and in the end I realized that the key to solving the issue was:

sudo restart puma-manager

Now, is this a normal practice? Restarting the server every time changes are pushed? Or did I configure Puma unproperly?

Can someone tell me if there is something I can do to improve this situation?

Copyright Notice:Content Author:「Enrique Moreno Tent」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/31985829/need-to-restart-puma-to-reflect-changes-in-view

More about “Need to restart Puma to reflect changes in view?” related questions

Need to restart Puma to reflect changes in view?

I just pushed some new changes to my newly deployed Rails 4 app. More precisely some changes in the view file. To my desmay, after pushing the changes, the website still showed the same old view. I

Show Detail

Capistrano puma:restart not working, but puma:start does

I am using Capistrano to deploy my Rails 5 app to AWS EC2 instance. When I type: cap production deploy Things go smoothly and the deployment is successful. However, the process of restarting puma...

Show Detail

How to restart puma after deploy?

I'm using Rails, Puma, Capistrano3. I have installed the gem capistrano3-puma as well. I started Puma with Puma Jungle https://github.com/puma/puma/tree/master/tools/jungle/upstart How do I restar...

Show Detail

Puma Server hangs on restart

Don't know how to exactly reproduce. It occurs on our production servers but not every time. After deploy, we will issuse bundle exec pumactl -S pids/puma.state -F config/puma.rb restart (on Ubunt...

Show Detail

Failure to restart puma after capistrano deployment

I'm trying to deploy a rails app from my machine to an aws linux ec2 using capistrano. I used the bundle exec cap production deploy command and it actually deploys a new release to the server

Show Detail

puma:restart cap production deploy service not found

Rails 7.0.4 Puma 6.0 I am so close to getting cap production deploy to work in production but I'm stuck on puma:restart I have an active service on the server deploy@reports:~/apps/R7-reporting-2022/

Show Detail

Puma server hangs after capistrano "puma:restart" signal is sent

When I deploy my application for the first time using cap [env] deploy, everything works as expected. The code is deployed and the puma server is started successfully with puma:start. capistrano o...

Show Detail

Puma phased-restart fails when Gemfile is changed

I'm using Puma as application server for my Rails 4 project on MRI 2.1.0. I'm using Capistrano 3 to handle deployments. Everything is working like a charm. But, I recently noticed an issue with my

Show Detail

Zero downtime deployment with Puma

The documentation for puma indicates that a phased restart can be initiated with the USR1 signal. But I am unclear as to how to do a rolling restart using this. If I have directories /home/abc/rail...

Show Detail

How to start Puma app after restart Server

I have a Ruby on Rails application which runs on Ubuntu server with Puma. I deploy my application with Capistrano and everything works well. But when I restart ubuntu server, Rails application is ...

Show Detail