Rails programmer will have jquery-smooth-scroll plugin in asset pipeline when using this little shiny thang. Bling you scrolling!
There is no gem of this version bumping fork yet.
Add this to your project's Gemfile
:
group :assets do
#gem 'jquery-smooth-scroll-rails'
gem 'jquery-smooth-scroll-rails', :git => 'git@github.com:gretel/jquery-smooth-scroll-rails.git'
end
Add this to application.js
, possibly at app/assets/javascripts/application.js
:
//= require jquery-smooth-scroll
For production you might need to re-precompile assets:
RAILS_ENV=production bundle exec rake assets:precompile
The actual usage is explained here.
Dunno if it works, sorry. Please report any issues.