Sha256: 36c5f158f367dd9083cb05516b70b7001cb733d551e90886d40b34168591e33d
Contents?: true
Size: 548 Bytes
Versions: 4
Compression:
Stored size: 548 Bytes
Contents
require 'toolrack' require 'fileutils' gemfile = File.join(File.dirname(__FILE__),"Gemfile.lock") if TR::RTUtils.on_jruby? rtGemFile = File.join(File.dirname(__FILE__),"Gemfile.lock-java") else rtGemFile = File.join(File.dirname(__FILE__),"Gemfile.lock-ruby") end if File.exist?(rtGemFile) FileUtils.rm_f gemfile if File.exist?(gemfile) FileUtils.cp rtGemFile, gemfile cmd = "bundle exec rspec #{ARGV.join(" ")}" system(cmd) else STDERR.puts "No java or ruby Gemfile.lock found. Please create the environment first." end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
ccipher_factory-0.1.2 | run_test.rb |
ccipher_factory-0.1.1 | run_test.rb |
ccipher_box-0.1.0 | run_test.rb |
ccipher_factory-0.1.0 | run_test.rb |