diff options
author | Gleb Mazovetskiy <glex.spb@gmail.com> | 2017-05-22 22:31:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-22 22:31:58 +0300 |
commit | f946e42f1d65481e2aca6520684125cdf0b89cba (patch) | |
tree | be53351e0b44b2f08944842683df654c4a2d751b | |
parent | 79c3fc026cbc1428e783135ec4ecfb7d71889497 (diff) | |
parent | e1c74fd617119811e7cb12fd80502b5538f4462b (diff) |
Merge pull request #83 from danielstrimpel/master
[Doc] Rails 5.1+ requires adding jquery gem to gemfile
-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 |