[MacRuby-devel] Using Bacon with MacRuby
Ernest N. Prabhakar, Ph.D.
prabhaka at apple.com
Mon Oct 19 12:56:13 PDT 2009
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'
...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20091019/9a1205d1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: whirlwind.rb
Type: text/x-ruby-script
Size: 937 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20091019/9a1205d1/attachment.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20091019/9a1205d1/attachment-0001.html>
More information about the MacRuby-devel
mailing list