Skip to content

Instantly share code, notes, and snippets.

@agrimm
Created November 7, 2009 21:18
Show Gist options
  • Save agrimm/228900 to your computer and use it in GitHub Desktop.
Save agrimm/228900 to your computer and use it in GitHub Desktop.
#Chaser can run in ruby 1.8 without the test-unit gem
C:\Documents and Settings\Andrew\Desktop\code\chaser>ruby --version
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
C:\Documents and Settings\Andrew\Desktop\code\chaser>gem list test-unit --both
*** LOCAL GEMS ***
*** REMOTE GEMS ***
test-unit (2.0.5)
test-unit-ext (0.5.0)
test-unit-full (0.0.1)
test-unit-mock (0.30)
test-unit-runner-fox (0.0.1)
test-unit-runner-gtk2 (0.0.1)
test-unit-runner-tk (0.0.1)
C:\Documents and Settings\Andrew\Desktop\code\chaser>rake
(in C:/Documents and Settings/Andrew/Desktop/code/chaser)
Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com
c:/ruby/bin/ruby.exe test/test_chaser.rb
Loaded suite test/test_chaser
Started
....
Finished in 0.0 seconds.
4 tests, 10 assertions, 0 failures, 0 errors
#Chaser can't run in ruby 1.9 without the test-unit gem
C:\Documents and Settings\Andrew\Desktop\code\chaser>PATH C:\ruby19\bin;%PATH%
C:\Documents and Settings\Andrew\Desktop\code\chaser>ruby --version
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mswin32]
C:\Documents and Settings\Andrew\Desktop\code\chaser>gem list test-unit --both
*** LOCAL GEMS ***
*** REMOTE GEMS ***
test-unit (2.0.5)
test-unit-ext (0.5.0)
test-unit-full (0.0.1)
test-unit-mock (0.30)
test-unit-runner-fox (0.0.1)
test-unit-runner-gtk2 (0.0.1)
test-unit-runner-tk (0.0.1)
C:\Documents and Settings\Andrew\Desktop\code\chaser>rake
(in C:/Documents and Settings/Andrew/Desktop/code/chaser)
Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com
C:/Documents and Settings/Andrew/Desktop/code/chaser/lib/test_unit_chaser.rb:3:in `require': no such file to load -- test/unit/autorunner (LoadError)
from C:/Documents and Settings/Andrew/Desktop/code/chaser/lib/test_unit_chaser.rb:3:in `<top (required)>'
from test/test_chaser.rb:6:in `require'
from test/test_chaser.rb:6:in `<main>'
rake aborted!
Command failed with status (1): [C:/ruby19/bin/ruby test/test_chaser.rb...]
(See full trace by running task with --trace)
#Chaser can run in ruby 1.9 with the test-unit gem installed
C:\Documents and Settings\Andrew\Desktop\code\chaser>gem install test-unit
Successfully installed test-unit-2.0.5
1 gem installed
Installing ri documentation for test-unit-2.0.5...
Updating class cache with 1563 classes...
Installing RDoc documentation for test-unit-2.0.5...
C:\Documents and Settings\Andrew\Desktop\code\chaser>rake
(in C:/Documents and Settings/Andrew/Desktop/code/chaser)
Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com
Loaded suite test/test_chaser
Started
....
Finished in 0.015625 seconds.
4 tests, 10 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment