Skip to content

Commit

Permalink
Properly check silence_spec_warnings class variable [#1372 state:comm…
Browse files Browse the repository at this point in the history
…itted]

Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
  • Loading branch information
defunkt authored and dhh committed Nov 14, 2008
1 parent 9a88ab6 commit 3341787
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions railties/lib/rails/vendor_gem_source_index.rb
Expand Up @@ -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
Expand Down Expand Up @@ -137,4 +137,4 @@ def size
end

end
end
end

0 comments on commit 3341787

Please sign in to comment.