After installing the bower-rails gem, I added bootstrap-sass to my bower file, which then installed it in vendor/assets/bower_components.
I read somewhere that bower-rails is supposed to automatically add bower_components to assets, so I tried including bootstrap-sass in my application.css:
*= require_tree .
*= require_self
*= require 'bootstrap-sass'
*/
However, I encountered an error stating that the bootstrap-sass file could not be found.
Do I need to manually add vendor/assets/bower_components to assets?
As a beginner in Rails, I would appreciate some clarification on this issue.
This is the guide I am following: resource
EDIT:
After running rails c
and checking
Rails.application.config.assets.paths
, I can confirm that vendor/assets/bower_components
is included in the asset paths.