This gem wraps the Shepherd JavaScript library so that it can be included easily in the Rails asset pipeline.
Add this line to your application's Gemfile:
gem 'shepherdjs_rails'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install shepherdjs_rails
add shepherdjs_rails to your application.js manifest
//= require shepherd.min
If you need a newer version of Shepherd:
- Fork this repo.
- Update the vendored files with the newest release of Shepherd
- Update
lib/shepherdjs_rails/version.rb
to match the version of Shepherd that you updated to. - Push to your repo and create a pull request.
The gem is available as open source under the terms of the MIT License.