Closed night1ightning closed 7 years ago
Well one advantage is that this library integrates Bower commands within Rake. So if you use bundle exec rake -D
you can see the various commands that this library wraps (therefore you do not have to memorize the bower commands). Additionally, if someone didn't know how to add a path to the assets path and didn't have the time to learn about it, this library would save them time. This library also allows you to configure Bower purely in Ruby as well, without using a bower.json
file (which some people might prefer).
@preetpalS thanks for explanation
I went through the instructions gem "bower-rails", "~> 0.11.0" rails g bower_rails:initialize json
after run:
bower install bootstrap
dont'workrake bower:install to install packages So understand then it integrates all(bower.jon) of the packages in rails? right?
What is the advantage over conventional bower? bower.json
config/application.rb