in Gemfile
Gemfile
gem 'jquery-entwine-rails'
in application.js
application.js
//= require jquery.entwine
martini time.