== Welcome to the Ehcache for Rails demo This is a simple demo application demonstrating the use of Ehcache in a Rails 3 environment. This demo requires JRuby 1.5.0 or later. == Starting the demo To start the demo, make sure you are using JRuby 1.5.0 or later. The demo uses sqlite3 which needs to be installed on your OS (it is by default on Mac OS X). There is a Gemfile which will pull down all of the required Ruby dependencies using Bundler. From the ehcache-rails-demo directory: jgem install bundler jruby -S bundle install You can start the demo application with the following command: $ jruby -S rails server -e production == Exploring the demo To use the demo application, open a web browser to the following URL: http://localhost:3000/cache/index This will display a simple screen allowing you to manipulate cached values either through the Ehcache API directly, or through the Rails.cache API backed by Ehcache.