1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Allow to use a local copy of sprockets-rails during development

This commit is contained in:
Guillermo Iguaran 2012-09-19 10:43:40 -05:00
parent 66ed71fd6f
commit 25d2b17a99

View file

@ -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