diff options
author | danielstrimpel <dastrimpel@gmail.com> | 2017-05-17 03:19:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-17 03:19:48 +0300 |
commit | e1c74fd617119811e7cb12fd80502b5538f4462b (patch) | |
tree | be53351e0b44b2f08944842683df654c4a2d751b /README.md | |
parent | 79c3fc026cbc1428e783135ec4ecfb7d71889497 (diff) |
Rails 5.1+ requires adding jquery to gemfile
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |