mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
protect against crash in prd
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user