Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanielstrimpel <dastrimpel@gmail.com>2017-05-17 03:19:48 +0300
committerGitHub <noreply@github.com>2017-05-17 03:19:48 +0300
commite1c74fd617119811e7cb12fd80502b5538f4462b (patch)
treebe53351e0b44b2f08944842683df654c4a2d751b /README.md
parent79c3fc026cbc1428e783135ec4ecfb7d71889497 (diff)
Rails 5.1+ requires adding jquery to gemfile
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 5 insertions, 1 deletions
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