Sha256: a4b401869ac594764bf2dbc053bbc6d45fac37e7259b128911d03bce9821a492
Contents?: true
Size: 561 Bytes
Versions: 9
Compression:
Stored size: 561 Bytes
Contents
#!/usr/bin/env ruby1.9 # encoding: utf-8 Dir[File.join(File.dirname(__FILE__), "..", "vendor", "*")].each do |path| if File.directory?(path) && Dir["#{path}/*"].empty? warn "Dependency #{File.basename(path)} in vendor seems to be empty. Run git submodule init && git submodule update to checkout it." elsif File.directory?(path) && File.directory?(File.join(path, "lib")) $:.unshift File.join(path, "lib") end end ARGV.push("spec") if ARGV.empty? load File.expand_path(File.join(File.dirname(__FILE__), "..", "vendor", "rspec", "bin", "spec"))
Version data entries
9 entries across 9 versions & 2 rubygems