Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 25d2b17a99a78955a90682fa41fda268c5532129 1 parent 66ed71f
Guillermo Iguaran authored September 19, 2012

Showing 1 changed file with 6 additions and 1 deletion. Show diff stats Hide diff stats

  1. 7  Gemfile
7  Gemfile
@@ -28,7 +28,12 @@ end
28 28
 # This needs to be with require false to avoid
29 29
 # it being automatically loaded by sprockets
30 30
 gem 'uglifier', require: false
31  
-gem 'sprockets-rails', github: 'rails/sprockets-rails'
  31
+
  32
+if ENV['SPROCKETS_RAILS']
  33
+  gem 'sprockets-rails', path: ENV['SPROCKETS_RAILS']
  34
+else
  35
+  gem 'sprockets-rails', github: 'rails/sprockets-rails'
  36
+end
32 37
 
33 38
 group :doc do
34 39
   # The current sdoc cannot generate GitHub links due

0 notes on commit 25d2b17

Please sign in to comment.
Something went wrong with that request. Please try again.