Skip to content
This repository
Browse code

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 authored dhh committed
4  railties/lib/rails/vendor_gem_source_index.rb
@@ -81,7 +81,7 @@ def refresh!
81 81
             spec.files = files
82 82
           else
83 83
             $stderr.puts("config.gem: Unpacked gem #{dir_name} in vendor/gems not in a versioned directory."+
84  
-                         " Giving up.") unless @silence_spec_warnings
  84
+                         " Giving up.") unless @@silence_spec_warnings
85 85
             next
86 86
           end
87 87
         end
@@ -137,4 +137,4 @@ def size
137 137
     end
138 138
 
139 139
   end
140  
-end
  140
+end

0 notes on commit 3341787

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