This gem adds a single generator to Rails 3, mootools:install. Running the generator will remove any Prototype JS files you may happen to have, fetch MooTools Core and the MooTools-ujs driver for Rails.
In your Gemfile, add this line:
bundle install. To invoke the generator, run:
rails generate mootools:install --version to install specific version of MooTools (default is 1.2.5)
You're done! Don't forget to output
csrf_meta_tag somewhere inside your
<head> tag in your layout!