Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Commit

Permalink
require 'rubygems' in script/spec
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Oct 4, 2008
1 parent 4adeb8d commit 931f370
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion History.txt
@@ -1,9 +1,11 @@
=== Version 1.1.8 / 2008-10-03

* 2 bug fixes
* 3 bug fixes

* correctly handle assigns that are false. Fixes #552.
* ensure that NotYetImplemented examples report as pending (fixed in rspec, not rspec-rails). Fixes #553.
* require 'rubygems' in script/spec


=== Version 1.1.7 / 2008-10-02

Expand Down
5 changes: 3 additions & 2 deletions generators/rspec/templates/script/autospec
@@ -1,3 +1,4 @@
#!/usr/bin/env ruby
ENV['RSPEC'] = 'true'
system 'autotest'
ENV['RSPEC'] = 'true' # allows autotest to discover rspec
ENV['AUTOTEST'] = 'true' # allows autotest to run w/ color on linux
system (RUBY_PLATFORM =~ /mswin|mingw/ ? 'autotest.bat' : 'autotest'), *ARGV
1 change: 1 addition & 0 deletions generators/rspec/templates/script/spec
@@ -1,4 +1,5 @@
#!/usr/bin/env ruby
$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + "/../vendor/plugins/rspec/lib"))
require 'rubygems'
require 'spec'
exit ::Spec::Runner::CommandLine.run(::Spec::Runner::OptionParser.parse(ARGV, STDERR, STDOUT))

0 comments on commit 931f370

Please sign in to comment.