[MacRuby-devel] Using Bacon with MacRuby

Eloy Duran eloy.de.enige at gmail.com
Mon Oct 19 13:38:52 PDT 2009


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…

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
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

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


More information about the MacRuby-devel mailing list