Rails Cache on Development Environment
Set perform caching to true inside config/environments/development.rb, you need to restart the server
If you are getting this error
config.action_controller.perform_caching = true
After that install memcached as a gem
gem install memcachedAdd sudo if you are using system ruby, You can also use bundler
If you are getting this error
"DalliError: No server available"Then you need to install memcached
sudo apt-get install memcached
Comments
Post a Comment