Last change
on this file since 405 was 194, checked in by KOBAYASHI, Shinji, 15 years ago |
refs #54
|
-
Property svn:executable
set to
*
|
File size:
420 bytes
|
Rev | Line | |
---|
[194] | 1 | #!/usr/bin/env ruby
|
---|
| 2 | if ARGV.any? {|arg| %w[--drb -X --generate-options -G --help -h --version -v].include?(arg)}
|
---|
| 3 | require 'rubygems' unless ENV['NO_RUBYGEMS']
|
---|
| 4 | else
|
---|
| 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)
|
---|
| 8 | end
|
---|
| 9 | require 'spec/autorun'
|
---|
| 10 | exit ::Spec::Runner::CommandLine.run
|
---|
Note:
See
TracBrowser
for help on using the repository browser.