diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2012-09-19 10:43:40 -0500 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2012-09-19 18:02:37 -0500 |
commit | 25d2b17a99a78955a90682fa41fda268c5532129 (patch) | |
tree | b4ed377228829601b8a1f2c6ad977f482c94b4e3 /Gemfile | |
parent | 66ed71fd6fbbdc25148459a91074974287318bf5 (diff) | |
download | rails-25d2b17a99a78955a90682fa41fda268c5532129.tar.gz rails-25d2b17a99a78955a90682fa41fda268c5532129.tar.bz2 rails-25d2b17a99a78955a90682fa41fda268c5532129.zip |
Allow to use a local copy of sprockets-rails during development
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -28,7 +28,12 @@ end # This needs to be with require false to avoid # it being automatically loaded by sprockets gem 'uglifier', require: false -gem 'sprockets-rails', github: 'rails/sprockets-rails' + +if ENV['SPROCKETS_RAILS'] + gem 'sprockets-rails', path: ENV['SPROCKETS_RAILS'] +else + gem 'sprockets-rails', github: 'rails/sprockets-rails' +end group :doc do # The current sdoc cannot generate GitHub links due |