Re: [MacRuby-devel] REXML UTF-8 Encoding not found

2011-10-08 Thread Watson
Hi > https://github.com/ferrous26/MacRuby/commit/e4525fc4f9d91ffbad155340b99710e750aef5b7 I merged Mark's patch. This problem would be fixed with MacRuby nightly build. Thanks. 2011/10/8 Mark Rada : > It seems that I lied a little, the commit where I made the change is here: > > https://github.

Re: [MacRuby-devel] REXML UTF-8 Encoding not found

2011-10-07 Thread Mark Rada
It seems that I lied a little, the commit where I made the change is here: https://github.com/MacRuby/MacRuby/commit/b98b9da5d7da09a7dfa65d298df5d1c880d36ff2 but that is all the way back in May. It felt like it was just the other day. On the upside though, I have prepared a fix for the problem:

Re: [MacRuby-devel] REXML UTF-8 Encoding not found

2011-10-07 Thread Shaun August
Hi Mark, Thanks for the reply. If I were to roll back to a nightly build could you estimate what date I should be looking for? Thank you, Shaun On 2011-10-07, at 2:36 PM, Mark Rada wrote: > Hi Shaun, > > The problem here is that "rexml/encoding.rb" is trying to load "UTF-8.rb". > The prob

Re: [MacRuby-devel] REXML UTF-8 Encoding not found

2011-10-07 Thread Mark Rada
Hi Shaun, The problem here is that "rexml/encoding.rb" is trying to load "UTF-8.rb". The problem is that files should not include the file extension when requiring a file or else it will always load the .rb file and have to JIT the code instead of loading the .rbo file and use the already compi

Re: [MacRuby-devel] REXML UTF-8 Encoding not found

2011-10-07 Thread Shaun August
Hi Eloy, Thanks for responding. I tried to add the --stdlib rexml command and I now get an error about fileutils not being available. I was reading in Matt's excellent book (does that count as a quote?) that the --stdlib can only load one library rather than the entire set of libraries when I p

Re: [MacRuby-devel] REXML UTF-8 Encoding not found

2011-10-05 Thread Eloy DurĂ¡n
Did you include the standard library when running macruby_deploy? If you are excluding it, then you should be able to fix this with passing this to macruby_deploy: `--stdlib rexml`. On Oct 3, 2011, at 6:32 AM, saugust wrote: > Hi Everyone, > > I am trying to deploy an app that uses XMLSimple a

[MacRuby-devel] REXML UTF-8 Encoding not found

2011-10-02 Thread saugust
Hi Everyone,I am trying to deploy an app that uses XMLSimple and I am getting an error when I try to run the app on computers other than my own.Here is the error message:11-10-02 9:14:17.289 PM [0x0-0x39039].com.blah.blah: /Users/me/Desktop/MyApp.app/Contents/Resources/rb_main.rb:18:in `block': no

[MacRuby-devel] REXML

2010-06-09 Thread Robert Rice
Note to REXML users. I suspect that there is a bug in the each_element method of REXML. In the each_element loop I would get intermittent errors where the index was not a REXML element or I would get a Bad Instruction crash with no traceback. My system became stable after replacing calls to eac

Re: [MacRuby-devel] REXML broken

2010-01-26 Thread Robert Rice
Hi Laurent: REXML loads again in the 1/26 nightly build. Thanks, Bob Rice On Jan 26, 2010, at 6:39 PM, Laurent Sansonetti wrote: > Hi Robert, > > This works for me as of trunk. Which OS version do you run? Is your cpu > 32-bit or 64-bit? > > Thanks, > Laurent > > On Jan 25, 2010, at 11:40

Re: [MacRuby-devel] REXML broken

2010-01-26 Thread Laurent Sansonetti
Hi Robert, This works for me as of trunk. Which OS version do you run? Is your cpu 32-bit or 64-bit? Thanks, Laurent On Jan 25, 2010, at 11:40 PM, Robert Rice wrote: This problem started with either the 1/23 or the 1/24 nightly. Last login: Mon Jan 25 19:18:11 on console new-host:~ robert

[MacRuby-devel] REXML broken

2010-01-26 Thread Robert Rice
This problem started with either the 1/23 or the 1/24 nightly. Last login: Mon Jan 25 19:18:11 on console new-host:~ robertrice$ macirb irb(main):001:0> require "rexml/document" Assertion failed: (chmaxlen < sizeof(chbuf)), function unescape_escaped_nonascii, file re.c, line 2205. Abort trap new-

Re: [MacRuby-devel] REXML

2009-05-23 Thread Matt Aimonetti
hmmm make sure you are executing my code before loading rexml/document or rexml/client. If you can't get it to work, please show me your code so I can reproduce the issue and try to help. - Matt On Sat, May 23, 2009 at 7:43 AM, Robert Rice wrote: > Hi Matt: > Your hot patch works in MacIRB but

Re: [MacRuby-devel] REXML

2009-05-23 Thread Robert Rice
Hi Matt: Your hot patch works in MacIRB but it doesn't seem to work in XCODE. Any idea why there would be a difference? 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 mentione

Re: [MacRuby-devel] REXML

2009-05-22 Thread Matt Aimonetti
Hi Bob, Unfortunately, the gem you are trying to use is based on a C extensions which doesn't seem to be well written. That's why it doesn't run on Ruby 1.8.7. (and probably not 1.9) Unfortunately, even if the gem was working fine, it wouldn't currently work in MacRuby due to a lack of support f

Re: [MacRuby-devel] REXML

2009-05-22 Thread Robert Rice
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 -

Re: [MacRuby-devel] REXML

2009-05-22 Thread Matt Aimonetti
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:4

[MacRuby-devel] REXML

2009-05-22 Thread Robert Rice
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