Add gem 'jquery-rails' to Gemfile.