Skip to content

Instantly share code, notes, and snippets.

@BenHall
Created January 5, 2010 17:02
Show Gist options
  • Save BenHall/269523 to your computer and use it in GitHub Desktop.
Save BenHall/269523 to your computer and use it in GitHub Desktop.
RSpec 1.2.9 running on IronRuby 0.9.3
C:\ironruby\bin>ispec myspec.rb
0.9.3.0
.
Finished in 0.1406214 seconds
1 example, 0 failures
#!c:/ironruby/bin/ir.exe
#
# This file was generated by RubyGems.
#
# The application 'rspec' is installed as part of a gem, and
# this file is here to facilitate running it.
#
require 'rubygems'
version = ">= 0"
if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then
version = $1
ARGV.shift
end
gem 'rspec', version
load Gem.bin_path('rspec', 'spec', version)
@ECHO OFF
IF NOT "%~f0" == "~f0" GOTO :WinNT
@"ir.exe" "c:/ironruby/bin/spec" %1 %2 %3 %4 %5 %6 %7 %8 %9
GOTO :EOF
:WinNT
@"ir" "%~dpn0" %*
describe String do
it "should output version" do
puts IRONRUBY_VERSION
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment