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:
parent
9a88ab64bb
commit
334178722b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue