mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 20:44:40 +08:00
69 specs fail in rails 4 now ...not too bad
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user