A blog about the problems I've encountered while being a Ruby on Rails developer, and how I've solved them.
Monday, February 23, 2015
Cleaning out server assets in development
Depending on your server settings (config/environments/development.rb), some of your assets (css, js, images, etc.) may end up being cached by the server and won't reflect your changes. Fortunately, there is a command to clear all of these out so they will be regenerated. With the server shut down, run rake assets:clobber and all of your asset caches will be removed. The next time you run the server and navigate to your app, the assets will be regenerated with the current version of the files.
Labels:
Ruby,
Ruby on Rails
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment