Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

make sure rubber in gemfile not commented out

  • Loading branch information...
commit 2add6abba8441d80f12c405581f4b3ffa8c7ae90 1 parent cbc6355
@wr0ngway wr0ngway authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/rubber
View
2  bin/rubber
@@ -5,7 +5,7 @@ root = File.expand_path(ENV['RUBBER_ROOT'] || '.')
# Only load gemfile if there and contains rubber in order
# to allow vulcanize to work in bootstrap case
gemfile = ENV['BUNDLE_GEMFILE'] || "#{root}/Gemfile"
-if File.exists?(gemfile) && File.read(gemfile).lines.grep(/gem.*["']rubber["']/).size > 0
+if File.exists?(gemfile) && File.read(gemfile).lines.grep(/^[^#]*gem.*["']rubber["']/).size > 0
require "bundler"
Bundler.setup(:default, env.to_sym)
end
Please sign in to comment.
Something went wrong with that request. Please try again.