diff options
author | Chris Wanstrath <chris@ozmm.org> | 2008-11-13 21:06:11 -0800 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2008-11-14 11:49:30 +0100 |
commit | 334178722b8c33aba4acefe7f89e767a5660fc46 (patch) | |
tree | 8a013d477f18fe26b368faccbc3d3272956bd838 | |
parent | 9a88ab64bb45ddb2bdcf80fab9203111d8f8abb4 (diff) | |
download | rails-334178722b8c33aba4acefe7f89e767a5660fc46.tar.gz rails-334178722b8c33aba4acefe7f89e767a5660fc46.tar.bz2 rails-334178722b8c33aba4acefe7f89e767a5660fc46.zip |
Properly check silence_spec_warnings class variable [#1372 state:committed]
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
-rw-r--r-- | railties/lib/rails/vendor_gem_source_index.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/vendor_gem_source_index.rb b/railties/lib/rails/vendor_gem_source_index.rb index dc821693ac..5b7721f303 100644 --- a/railties/lib/rails/vendor_gem_source_index.rb +++ b/railties/lib/rails/vendor_gem_source_index.rb @@ -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
\ No newline at end of file +end |