I’m running my rails app with FCGI. I updated a view and noticed it
didn’t update the site. Deleted it and it even still shows up. I also
tried “pkill -9 -f dispatch.fcgi”.
I thought I had done this in the past with controllers and views and
it updated… How do I reset it to load the new view files?
I’m running my rails app with FCGI. I updated a view and noticed it
didn’t update the site. Deleted it and it even still shows up. I also
tried “pkill -9 -f dispatch.fcgi”.
I thought I had done this in the past with controllers and views and
it updated… How do I reset it to load the new view files?
Here is a simple bash script I use to kill all dispatchers:
I updated a view and noticed it
didn’t update the site. Deleted it and it even still shows up. I also
tried “pkill -9 -f dispatch.fcgi”.
I thought I had done this in the past with controllers and views and
it updated… How do I reset it to load the new view files?
Are you in production mode? If so, there’s probably a caching issue,
and restarting the server should do the trick.
Also, make sure that there are no backup or merge files around. Various
editors and version control systems leave files around with names like
something.rb~ or something.rb.orig , and these can sometimes confuse
Rails.