Merge branch 'rc/cob-do-not-require-stackprof' into 'master'
Don't require stackprof in Gemfile See merge request !13407
This commit is contained in:
commit
cb30868924
2 changed files with 3 additions and 2 deletions
2
Gemfile
2
Gemfile
|
@ -355,7 +355,7 @@ group :development, :test do
|
|||
|
||||
gem 'activerecord_sane_schema_dumper', '0.2'
|
||||
|
||||
gem 'stackprof', '~> 0.2.10'
|
||||
gem 'stackprof', '~> 0.2.10', require: false
|
||||
end
|
||||
|
||||
group :test do
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#!/usr/bin/env ruby
|
||||
|
||||
require 'bundler/setup'
|
||||
require 'stackprof'
|
||||
$:.unshift 'spec'
|
||||
require 'rails_helper'
|
||||
|
@ -13,4 +14,4 @@ StackProf.run(mode: :wall, out: output_file, interval: interval) do
|
|||
RSpec::Core::Runner.run(ARGV, $stderr, $stdout)
|
||||
end
|
||||
|
||||
system("stackprof #{output_file} --text --limit #{limit}")
|
||||
system("bundle exec stackprof #{output_file} --text --limit #{limit}")
|
||||
|
|
Loading…
Reference in a new issue