On Oct 19, 2009, at 1:38 PM, Eloy Duran wrote: > If you mean that this happens when running it from XCode, then my guess is > that stdout is unavailable to macruby. As flunk tries to use that iirc. No > idea why that would be the case though…
Ah, I was running it in TextMate. Runs fine from the Terminal, thanks. I've filed a bug against Bacon in case they have any ideas... -enp > > Eloy > > On 19 okt 2009, at 21:56, Ernest N. Prabhakar, Ph.D. wrote: > >> Hi all, >> >> I'm trying to use Bacon with MacRuby, and am running into an odd error: >> >> A new array >> - should be empty >> - should have zero size >> - should raise on trying fetch any index >> - should have an object identity >> - should be a palindrome >> - should have super powers [FAILED] >> >> core:in `write:': not opened for writing (IOError) >> >> >> Running it with "bacon" on the command-line avoids the problem, and 'fails' >> correctly. :-) >> >> Here's my config -- any suggestions? Is this a real bug, or user error? >> >> -- Ernie P. >> >> >>> $ macruby --version >>> MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64] >>> $ sudo macgem install bacon >>> $ macgem list >>> >>> *** LOCAL GEMS *** >>> >>> bacon (1.1.0) >> >> >> I am using the whirlwind tutorial for Bacon 1.1: >> >> http://www.ruby-forum.com/topic/172139 >> >>> #!/usr/local/bin/macruby >>> >>> require 'rubygems' >>> require 'bacon' >> ... >> >> >> >> <whirlwind.rb> >> _______________________________________________ >> MacRuby-devel mailing list >> [email protected] >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > _______________________________________________ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
