gem 'rails-assets-raphael'
Raphael JavaScript library for Ruby on Rails
Add this line to your application's Gemfile:
gem 'raphaeljs-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install raphaeljs-rails
Insert js files to your application.js
#= require raphael