Problem using bootstrap_form gem - could not find the error "rails_bootstrap_forms" file
I'm trying to use the bootstrap_form bug ~> 2.0.1 (see https://github.com/bootstrap-ruby/rails-bootstrap-forms ), but it gives me the opportunity. I installed according to the instructions on their github page, adding it to my Gemfile:
gem 'bootstrap_form', '~> 2.0.1'
I started the installation of the package. Then I added it to the application.css.scss file:
*= require_self
*= require rails_bootstrap_forms
*= require_tree .
But when I try to run my application, I get:
could not find the file 'rails_bootstrap_forms' (in / path / to / my / app / assets / stylesheets / application.css.scss: 12)
I obviously missed something. I checked lib / assets / and vendor / assets / stylesheets / but there is nothing there. Similarly, there is nothing in app / assets / stylesheets /.
What kind of fiction?
Bootstrap? , bootstrap_form, , , Bootstrap.
- --. - gem "twitter-bootstrap-rails" gemfile,
$ bundle install
rails generate bootstrap:install static, CSS .
Although the SO warning does not respond to other answers, I am going to raise Thomas Hader's answer above by explaining why you need to create the rails_bootstrap_forms.css file in app/assets/stylesheets.
If you look at the rails-bootstrap forms of Github, you will notice that they have a rails_bootstrap_forms.css file. README does not tell you this, but it follows that this css file must be in /app/assets/stylesheets.
Here's the file: