Skip to content

Instantly share code, notes, and snippets.

@brianc
Created December 1, 2009 16:32
Show Gist options
  • Save brianc/246422 to your computer and use it in GitHub Desktop.
Save brianc/246422 to your computer and use it in GitHub Desktop.
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': ./test/../lib/riot/runnable.rb:35: syntax error, unexpected ',', expecting '|' (SyntaxError)
define_method(name) do |*expectings, &expectation_block|
^
./test/../lib/riot/runnable.rb:51: syntax error, unexpected kEND, expecting $end
end # Riot
^
from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from ./test/../lib/riot.rb:4
from ./test/teststrap.rb:2:in `require'
from ./test/teststrap.rb:2
from ./test/assertion_macros/assigns_test.rb:1:in `require'
from ./test/assertion_macros/assigns_test.rb:1
from C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in `load'
from C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5
from C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in `each'
from C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5
rake aborted!
Command failed with status (1): [C:/ruby/bin/ruby.exe -I"lib;test" "C:/ruby...]
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment