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] Problems with MacRuby 0.10 and rspec 2.6.4 under rvm

2011-10-07 Thread Ernest N. Prabhakar, Ph.D.
Ah, thanks. I've downgraded rspec to 2.5.0. I look forward to seeing MacRuby 0.11 soon! E On Oct 7, 2011, at 2:27 PM, Matt Aimonetti wrote: > Time for a 0.11 release! ;) > > - Matt > > On Fri, Oct 7, 2011 at 9:24 PM, Mark Rada wrote: > Hi Ernie, > > IIRC, this has come up recently (in the l

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] Problems with MacRuby 0.10 and rspec 2.6.4 under rvm

2011-10-07 Thread Matt Aimonetti
Time for a 0.11 release! ;) - Matt On Fri, Oct 7, 2011 at 9:24 PM, Mark Rada wrote: > Hi Ernie, > > IIRC, this has come up recently (in the last few months), and we found that > there was a change in rspec 2.6 that does not work with MacRuby 0.10, but > rspec 2.5 still does. > > Though, I tried

Re: [MacRuby-devel] Problems with MacRuby 0.10 and rspec 2.6.4 under rvm

2011-10-07 Thread Mark Rada
Hi Ernie, IIRC, this has come up recently (in the last few months), and we found that there was a change in rspec 2.6 that does not work with MacRuby 0.10, but rspec 2.5 still does. Though, I tried your example with the latest nightly build of MacRuby and used rspec 2.6 and had no issues. HTH

[MacRuby-devel] Problems with MacRuby 0.10 and rspec 2.6.4 under rvm

2011-10-07 Thread Ernest N. Prabhakar, Ph.D.
Hi all, I'm trying to use MacRuby with rspec, but it ain't working. I thought I read somewhere that it *should*. Is anyone else having problems, or is it an artifact of using rvm? Should I file a bug? Thanks, -- Ernie P. selfserve:frame prabhaka$ rvm current macruby-0.10 selfserve:tmp prab

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] GPL and the App Store

2011-10-07 Thread Vincent Isambart
> As for util.c, the only section of the code > mentioning the GPL is surrounded with pre-processor directives that only > include the code in question on Windows builds (and, so far as I am aware, > no one has compiled MacRuby on Windows yet). And when it's mentioned it's not just the GPL but a d

Re: [MacRuby-devel] GPL and the App Store

2011-10-07 Thread Mike Boone
On Thu, Oct 6, 2011 at 10:29 PM, Joshua Ballanco wrote: > If you look closely at the license text in parse.c there is a special > exception for programs that are not parser generators, which would cover the > use of parse.c in Ruby. As for util.c, the only section of the code > mentioning the GPL

[MacRuby-devel] macruby NSTask problem

2011-10-07 Thread Alex Greif
Hi I tried the subprocess sample with the AsyncHandler from http://ofps.oreilly.com/titles/9781449380373/_foundation.html and found the following problem: if I execute the code many times (I tried 20 times) in my terminal with $ macruby sample.rb then 2-3 times it does not print any output. In th