bin/parallel_test in parallel_tests-1.0.9 vs bin/parallel_test in parallel_tests-1.1.0

- old
+ new

@@ -1,6 +1,9 @@ #!/usr/bin/env ruby -require 'rubygems' if RUBY_VERSION < "1.9" -$LOAD_PATH << File.expand_path("../../lib", __FILE__) + +# enable local usage from cloned repo +root = File.expand_path("../..", __FILE__) +$LOAD_PATH << "#{root}/lib" if File.exist?("#{root}/Gemfile") + require "parallel_tests" ParallelTests::CLI.new.run(["--type", "test"] + ARGV)