Permalink
Browse files

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

  • Loading branch information...
1 parent 66ed71f commit 25d2b17a99a78955a90682fa41fda268c5532129 @guilleiguaran committed Sep 19, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 Gemfile
View
@@ -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

0 comments on commit 25d2b17

Please sign in to comment.