source: ruby/branches/0.5/script/spec@ 194

Last change on this file since 194 was 194, checked in by KOBAYASHI, Shinji, 15 years ago

refs #54

  • Property svn:executable set to *
File size: 420 bytes
Line 
1#!/usr/bin/env ruby
2if ARGV.any? {|arg| %w[--drb -X --generate-options -G --help -h --version -v].include?(arg)}
3 require 'rubygems' unless ENV['NO_RUBYGEMS']
4else
5 gem 'test-unit', '1.2.3' if RUBY_VERSION.to_f >= 1.9
6 ENV["RAILS_ENV"] ||= 'test'
7 require File.expand_path(File.dirname(__FILE__) + "/../config/environment") unless defined?(RAILS_ROOT)
8end
9require 'spec/autorun'
10exit ::Spec::Runner::CommandLine.run
Note: See TracBrowser for help on using the repository browser.