Skip to content

Commit

Permalink
Support for Rails 1.2.x without Rails.configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
candlerb committed May 20, 2009
1 parent 37e6260 commit 001c783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/snailgun
Expand Up @@ -81,7 +81,7 @@ when :rails
require 'spec'
require 'spec/rails'
end
if Rails.configuration.cache_classes
if Rails.respond_to?(:configuration) && Rails.configuration.cache_classes
STDERR.puts <<EOS
WARNING: Snailgun doesn't work well with `cache_classes`. Strongly recommend
`config.cache_classes = false` in config/environments/#{env}.rb
Expand Down

0 comments on commit 001c783

Please sign in to comment.