CforCode logo
  • Snippets
  • Tutorials
  • Articles
  • Interview Questions
    • Design Patterns
    • Difference between
    • PHP
    • Ruby
    • Ruby on Rails
    • React JS
  • Login
  • Sign Up

clear cache on Ruby on Rails on Ubuntu (nginx + unicorn)


Mansoor Khan created on AUG 03, 2016
ruby-on-rails
rake tmp:cache:clear
rake assets:clean

add  RAILS_ENV=production at the end in production environment.

Related Posts

  • Create and Deploy a Ruby on Rails 4 App with PostgreSQL, Unicorn and Nginx on Ubuntu 14.04
  • Ruby on Rails console commands
  • Scaffolding in Rails
  • Change the redirect path after signing out: Rails using Devise
  • Rails - enable error in production mode locally
  • Using annotate gem in rails
  • clear cache on Ruby on Rails on Ubuntu (nginx + unicorn)
  • Managing Environment Configuration Variables in Rails
  • Clear the cache from the Rails asset pipeline
  • ActiveRecord and ActiveRelation
C for Code
Facebook Twitter Pinterest

© 2025 cforcode. All Rights Reserved.