[MacRuby-devel] MacBacon problem

stephen horne fatste at gmail.com
Fri Nov 30 09:46:13 PST 2012


I'm trying to get started with tdd and MacRuby, but I've hit a stumbling block immediately with macbacon. I suspect it's something to do with rvm, but I'm not sure.

When I run macbacon like this:

	$macbacon my_class_test.rb 

I get the following error backtrace:

/Users/fatboy/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': /Users/fatboy/.rvm/gems/ruby-1.9.3-p125/gems/mac_bacon-1.3/lib/mac_bacon.rb:212: syntax error, unexpected tLABEL (SyntaxError)
...eForKeyPath(key_path, ofObject:object, change:_, context:__)
...                               ^
/Users/fatboy/.rvm/gems/ruby-1.9.3-p125/gems/mac_bacon-1.3/lib/mac_bacon.rb:337: class definition in method body
/Users/fatboy/.rvm/gems/ruby-1.9.3-p125/gems/mac_bacon-1.3/lib/mac_bacon.rb:429: syntax error, unexpected keyword_end, expecting $end
	
from /Users/fatboy/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
	
from /Users/fatboy/.rvm/gems/ruby-1.9.3-p125/gems/mac_bacon-1.3/bin/macbacon:110:in `<top (required)>'
	
from /Users/fatboy/.rvm/gems/ruby-1.9.3-p125/bin/macbacon:19:in `load'
	
from /Users/fatboy/.rvm/gems/ruby-1.9.3-p125/bin/macbacon:19:in `<main>'

Can anyone see what's wrong with my setup?

Thanks.
--
Stephen Horne

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20121130/90048f84/attachment.html>


More information about the MacRuby-devel mailing list