mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
correct user simulator
This commit is contained in:
parent
b69d089d06
commit
beeb86bf91
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ end
|
|||
|
||||
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
|
||||
|
||||
unless Rails.env.development?
|
||||
unless ["profile", "development"].include? Rails.env
|
||||
puts "Bad idea to run a script that inserts random posts in any non development environment"
|
||||
exit
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue