mirror of
https://github.com/discourse/discourse.git
synced 2025-03-29 09:45:41 +08:00
protect against crash in prd
This commit is contained in:
parent
0b4fc7ebed
commit
559c1e52aa
@ -1,3 +1,5 @@
|
||||
require 'rspec/core/rake_task'
|
||||
if Rails.env.development? || Rails.env.test?
|
||||
require 'rspec/core/rake_task'
|
||||
|
||||
RSpec::Core::RakeTask.new(:spec)
|
||||
RSpec::Core::RakeTask.new(:spec)
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user