Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Properly check silence_spec_warnings class variable [#1372 state:comm…

…itted]

Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
  • Loading branch information...
commit 334178722b8c33aba4acefe7f89e767a5660fc46 1 parent 9a88ab6
Chris Wanstrath defunkt authored dhh committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/lib/rails/vendor_gem_source_index.rb
4 railties/lib/rails/vendor_gem_source_index.rb
View
@@ -81,7 +81,7 @@ def refresh!
spec.files = files
else
$stderr.puts("config.gem: Unpacked gem #{dir_name} in vendor/gems not in a versioned directory."+
- " Giving up.") unless @silence_spec_warnings
+ " Giving up.") unless @@silence_spec_warnings
next
end
end
@@ -137,4 +137,4 @@ def size
end
end
-end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.