Method: Ruby::RakeTest#run
- Defined in:
- lib/scripts/ruby/rake_test.rb
#run ⇒ Object
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/scripts/ruby/rake_test.rb', line 11 def run if test_command?("bundler", "exec", "rake", "-V") return command("bundler", "exec", "rake", "test") end unless installed?("rake") command("gem", "install", "rake") end command("rake", "test") end |