Re: [MacRuby-devel] REXML
For XML, you can use Cocoa API or if you want to ue REXML, you need to use the hot patch I mentioned there: http://www.macruby.org/trac/ticket/134 Regarding the serialport library, I can't seem to see it on rubyforge, so I'm not sure what you are referring to. - Matt On Fri, May 22, 2009 at 9:44 AM, Robert Rice rice.au...@pobox.com wrote: Dear MacRuby development team: I am new to Ruby and I have an application that I would like to port to MacRuby. The two extensions I will need are XML and serial port I/O. So far I have not been able to get them to work: Last login: Fri May 22 12:31:48 on ttys000 new-host:~ robertrice$ macirb require rexml/document NameError: uninitialized constant REXML::Attribute::NAME_STR from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rexml/attribute.rb:18:in `class:Attribute' from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rexml/attribute.rb:9:in `module:REXML' from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rexml/attribute.rb:4:in `top (required)' from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rexml/element.rb:3:in `require' from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rexml/element.rb:3:in `top (required)' from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rexml/document.rb:1:in `require' from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rexml/document.rb:1:in `top (required)' from (irb):1:in `require' from (irb):1 from /usr/local/bin/macirb:12:in `main' require rubygems = false require serialport LoadError: no such file to load -- serialport from (irb):3:in `require' from (irb):3 from /usr/local/bin/macirb:12:in `main' exit new-host:~ robertrice$ exit logout [Process completed] Can anyone help me? Do I have a bad installation of MacRuby? Thanks, Bob Rice ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
[MacRuby-devel] A MacRuby-users group?
I'd like to propose the creation of macruby-users mailing list or an appropriate discussion board (the latter maybe even preferred). I'm thinking of a place for people using MacRuby for their apps, but not necessarily hacking on MacRuby itself. It feels a little intimidating to post to a -devel group, and I feel even I might be of some help to folks at a -users group. I don't mind starting something myself, but maybe an official discussion board is on the way. -- Regards, Łukasz Adamczak ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] A MacRuby-users group?
Hi Łukasz, This mailing-list was usually created for all people developing with MacRuby, not necessarily people developing MacRuby itself. But I can understand that the group name is ambiguous. Just to let everyone know, there is absolutely no problem posting anything related to MacRuby on this list. It's also true that there are more users discussions than core discussions here, but this might change once we get more people involved in the project. I think that the list traffic is still very light so I wonder if we need 2 separate lists. Any though? If most people agree to create a -users group I can ask for an official (macosforge.org) one. Laurent On May 22, 2009, at 10:09 AM, Łukasz Adamczak wrote: I'd like to propose the creation of macruby-users mailing list or an appropriate discussion board (the latter maybe even preferred). I'm thinking of a place for people using MacRuby for their apps, but not necessarily hacking on MacRuby itself. It feels a little intimidating to post to a -devel group, and I feel even I might be of some help to folks at a -users group. I don't mind starting something myself, but maybe an official discussion board is on the way. -- Regards, Łukasz Adamczak ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] REXML
Matt: Thanks for your quick reply. The hot patch seems to work. You may find serialport named as 'ruby-serialport'. At one time I had serialport working in ruby 1.8.7 but then after attempting to install some other Gems I now get the error: irb 0.9.5(05/04/13) new-host:~ robertrice$ ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9.7.0] new-host:~ robertrice$ irb irb(main):001:0 require rubygems = true irb(main):002:0 require serialport [BUG] cross-thread violation on rb_gc() ruby 1.8.6 (2008-08-11) [universal-darwin9.0] Abort trap new-host:~ robertrice$ exit logout [Process completed] Could you suggest a fix for this? Thanks, Bob Rice On May 22, 2009, at 12:59 PM, Matt Aimonetti wrote: For XML, you can use Cocoa API or if you want to ue REXML, you need to use the hot patch I mentioned there: http://www.macruby.org/trac/ticket/134 Regarding the serialport library, I can't seem to see it on rubyforge, so I'm not sure what you are referring to. - Matt On Fri, May 22, 2009 at 9:44 AM, Robert Rice rice.au...@pobox.com wrote: Dear MacRuby development team: I am new to Ruby and I have an application that I would like to port to MacRuby. The two extensions I will need are XML and serial port I/ O. So far I have not been able to get them to work: Last login: Fri May 22 12:31:48 on ttys000 new-host:~ robertrice$ macirb require rexml/document NameError: uninitialized constant REXML::Attribute::NAME_STR from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/ lib/ruby/1.9.1/rexml/attribute.rb:18:in `class:Attribute' from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/ lib/ruby/1.9.1/rexml/attribute.rb:9:in `module:REXML' from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/ lib/ruby/1.9.1/rexml/attribute.rb:4:in `top (required)' from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/ lib/ruby/1.9.1/rexml/element.rb:3:in `require' from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/ lib/ruby/1.9.1/rexml/element.rb:3:in `top (required)' from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/ lib/ruby/1.9.1/rexml/document.rb:1:in `require' from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/ lib/ruby/1.9.1/rexml/document.rb:1:in `top (required)' from (irb):1:in `require' from (irb):1 from /usr/local/bin/macirb:12:in `main' require rubygems = false require serialport LoadError: no such file to load -- serialport from (irb):3:in `require' from (irb):3 from /usr/local/bin/macirb:12:in `main' exit new-host:~ robertrice$ exit logout [Process completed] Can anyone help me? Do I have a bad installation of MacRuby? Thanks, Bob Rice ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] A MacRuby-users group?
Personally, I'm in favor of a single mailing list, especially with a small group like this. If there is some perception that a name ending in -devel is intimidating, maybe we should just be pitched as the MacRuby mailing list :) Best, Jeremy On Fri, May 22, 2009 at 10:35 AM, Laurent Sansonetti lsansone...@apple.com wrote: Hi Łukasz, This mailing-list was usually created for all people developing with MacRuby, not necessarily people developing MacRuby itself. But I can understand that the group name is ambiguous. Just to let everyone know, there is absolutely no problem posting anything related to MacRuby on this list. It's also true that there are more users discussions than core discussions here, but this might change once we get more people involved in the project. I think that the list traffic is still very light so I wonder if we need 2 separate lists. Any though? If most people agree to create a -users group I can ask for an official (macosforge.org) one. Laurent On May 22, 2009, at 10:09 AM, Łukasz Adamczak wrote: I'd like to propose the creation of macruby-users mailing list or an appropriate discussion board (the latter maybe even preferred). I'm thinking of a place for people using MacRuby for their apps, but not necessarily hacking on MacRuby itself. It feels a little intimidating to post to a -devel group, and I feel even I might be of some help to folks at a -users group. I don't mind starting something myself, but maybe an official discussion board is on the way. -- Regards, Łukasz Adamczak ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
[MacRuby-devel] HotCocoa LayoutView Patch
Hello, Attached is a simple patch to make the ability to enable a border around a layout_view available without being in debug mode. It also allows different colours to be set on each layout_view. Makes it easier, for me at least, to figure out where all the bounding boxes are sitting. Does this make sense to go back into SVN? Anything that should be changed to make it committable? Thanks, dan frame_color.diff Description: Binary data ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel