search for: files_to_run

Displaying 1 result from an estimated 1 matches for "files_to_run".

2011 Oct 26
1
problem profiling rspec boot time with ruby-prof
...y/Gems/1.8/gems/ruby-prof-0.10.8/bin/ruby-prof:243 from /usr/bin/ruby-prof:19:in `load'' from /usr/bin/ruby-prof:19 My setup is the following: I have a script RAILS_ROOT/twospecs.rb that contains the following: $LOAD_PATH.unshift( "/Users/myusername/code/mycompany/www/spec" ) files_to_run = ["spec/models/user_spec.rb", "spec/models/kid_spec.rb"] files_to_run.map {|f| load File.expand_path(f) } Then I run it with ruby-prof: ruby-prof twospecs.rb The gem versions I''m using are: bundle show rspec /Library/Ruby/Gems/1.8/gems/rspec-2.6.0 bundle show ruby...