From e1c74fd617119811e7cb12fd80502b5538f4462b Mon Sep 17 00:00:00 2001 From: danielstrimpel Date: Tue, 16 May 2017 20:19:48 -0400 Subject: Rails 5.1+ requires adding jquery to gemfile --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 276df71..a3696fd 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,11 @@ Then, remove all the `*= require` and `*= require_tree` statements from the Sass Do not use `*= require` in Sass or your other stylesheets will not be able to access the Bootstrap mixins and variables. -Require Bootstrap Javascripts in `app/assets/javascripts/application.js`: +If you're using Rails 5.1+, you'll need to add the jquery gem to your Gemfile: +``` +gem 'jquery-rails' +``` +And you will need to include jquery into application.js: ```js //= require jquery -- cgit v1.2.3