mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
protect against crash in prd
This commit is contained in:
parent
0b4fc7ebed
commit
559c1e52aa
1 changed files with 4 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue