vendredi 5 août 2016

Rails app not reflecting recent changes at all

I have a rails(Rails 3.2.12, ruby 1.9.3p547) app running on AWS ubuntu cloud server, with nginx as app server and unicorn as reverse proxy server. I have made few changes in the view file but those changes are not reflecting on browser. Code is currently live ("env=production")

I tried

sudo service my_app restart
[sudo] password for me:
Shutting down my_app: Starting my_app: Already running
                                                           [  OK  ]
$  sudo service nginx restart
Stopping nginx:                                            [  OK  ]
Starting nginx:                                            [  OK  ]
$

but still got no help its still rendering the previous one. I tried commenting the whole controller file for the same view but still the app is not showing any error. I have confirmed that the app is running from the same folder in which I am making changes

I got stuck at this point please help. Thanks in Advance

Aucun commentaire:

Enregistrer un commentaire