We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5eca368 + 6f442ea commit 250b5a0Copy full SHA for 250b5a0
benchmarks/shipit/benchmark.rb
@@ -1,15 +1,15 @@
1
-require 'securerandom'
+require_relative '../../harness/loader'
2
3
ENV['RAILS_ENV'] ||= 'production'
4
ENV['DISABLE_DATABASE_ENVIRONMENT_CHECK'] = '1' # Benchmarks don't really have 'production', so trash it at will.
5
-ENV['SECRET_KEY_BASE'] = SecureRandom.hex(128)
6
ENV['SHIPIT_DISABLE_AUTH'] = '1' # Saves us lots of trouble
7
8
-require_relative '../../harness/loader'
9
-
10
Dir.chdir __dir__
11
use_gemfile
12
+require 'securerandom'
+ENV['SECRET_KEY_BASE'] = SecureRandom.hex(128)
+
13
require_relative 'config/environment'
14
require_relative "route_generator"
15
0 commit comments