rharriso / bower-rails

Bundler-like DSL + rake tasks for Bower on Rails
MIT License
1.46k stars 128 forks source link

Allow root option passed in initializer file #212

Open turizoft opened 7 years ago

turizoft commented 7 years ago

Hi

When using inside a Docker container one should use the CLI option -allow-root everytime.

docker-compose run web rake bower:install['-allow-root']

Can this be configured inside the initializer as, for example:

BowerRails.configure do |bower_rails|
  bower_rails.allow_root = true
end

If it already exists would be awesome, if not would be a great addition.

Thanks in advance.