提交 25d2b17a 编写于 作者: G Guillermo Iguaran

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

上级 66ed71fd
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册