69 specs fail in rails 4 now ...not too bad

This commit is contained in:
Sam
2013-07-22 11:00:53 +10:00
parent 33e3f123b4
commit 9e4b0df7ff
6 changed files with 24 additions and 11 deletions

View File

@ -93,7 +93,7 @@ module Discourse
# dumping rack lock cause the message bus does not work with it (throw :async, it catches Exception)
# see: https://github.com/sporkrb/spork/issues/66
# rake assets:precompile also fails
config.threadsafe! unless $PROGRAM_NAME =~ /spork|rake/
config.threadsafe! unless rails4? || $PROGRAM_NAME =~ /spork|rake/
# route all exceptions via our router
config.exceptions_app = self.routes