[MacRuby-devel] MacBacon problem
daniel at prowestech.com
Fri Nov 30 09:52:53 PST 2012
It looks like MacBacon is using MRI Ruby, not MacRuby. Did you install the
gem using macgem? You might have to uninstall any other versions you've
I never had much luck with RVM+MacRuby; I always installed MacRuby using
the installer from the website. This might have been fixed though.
On Fri, Nov 30, 2012 at 10:46 AM, stephen horne <fatste at gmail.com> wrote:
> 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:
> syntax error, unexpected tLABEL (SyntaxError)
> ...eForKeyPath(key_path, ofObject:object, change:_, context:__)
> ... ^
> class definition in method body
> syntax error, unexpected keyword_end, expecting $end
> `<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?
> Stephen Horne
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MacRuby-devel