Skip to content

A platform for community discussion. Free, open, simple.

DEV: correct rake task used to grab admin key

Sam Saffronbf0ef73286ce
diff --git a/script/bench.rb b/script/bench.rb
index b847db2f3c2..44645f5549b 100644
--- a/script/bench.rb
+++ b/script/bench.rb
@@ -184,7 +184,7 @@ puts "Populating Profile DB"
run("bundle exec ruby script/profile_db_generator.rb")
puts "Getting api key"
-api_key = `bundle exec rake api_key:get`.split("\n")[-1]
+api_key = `bundle exec rake api_key:get_or_create_master[bench]`.split("\n")[-1]
def bench(path, name)
puts "Running apache bench warmup"