Integrate jquery-mousewheel with the rails asset pipeline.
Ruby JavaScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.


A ruby gem that uses the Rails asset pipeline to include the jQuery MouseWheel plugin by Brandon Aaron (


Add this line to your application's Gemfile:

gem "jquery-mousewheel-rails"

And then execute:

$ bundle

Or install it yourself as:

$ gem install jquery-mousewheel-rails

NOTE: this is a jQuery plugin so you will also need the jquery-rails gem:


In your application.js you will need to add this line:

//= require jquery.mousewheel