1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Properly check silence_spec_warnings class variable [#1372 state:committed]

Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
This commit is contained in:
Chris Wanstrath 2008-11-13 21:06:11 -08:00 committed by David Heinemeier Hansson
parent 9a88ab64bb
commit 334178722b

View file

@ -81,7 +81,7 @@ module Rails
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 @@ module Rails
end
end
end
end