Re: [MacRuby-devel] macirb & awesome_print

2010-10-11 Thread Eloy Duran
Hi, I haven’t heard back from Matt (from the original thread) or you and am still wondering if this solved it in a satisfactory way? Cheers, Eloy On Sat, Oct 9, 2010 at 6:13 PM, Eloy Duran wrote: > Yes, see this email from wednesday: > http://lists.macosforge.org/pipermail/macruby-devel/2010-Oc

[MacRuby-devel] Data Formatters Temporarily Unavailable?

2010-10-11 Thread Shaun August
Hi Everyone, I am having a problem running a ruby script as a shell script I am getting the same error when I call this script: puts `sudo restart.rb` or this: puts `restart.rb` The script runs perfectly when I use the macirb in terminal so I am a bit stumped. Here is the erro

Re: [MacRuby-devel] [ANN] MacRuby 0.7

2010-10-11 Thread Ryan Davis
On Oct 5, 2010, at 22:40 , Antony Blakey wrote: > http://rvm.beginrescueend.com/ ? or use bundler from rails (which IIUC is > independent of rails) or isolate, the smaller cleaner happier alternative to bundler. I haven't tried using isolate on macruby yet, but let me know if you have any iss

[MacRuby-devel] Strings Differ between Ruby and MacRuby?

2010-10-11 Thread Shaun August
I have a bit of an issue with Strings between MacRuby and Ruby. I have a socket that is feeding me data and I am running a check on watching for changes in the byte structure. The script works in ruby and I can get both the "\030" and the "\220" values to test true Here is the snippet. if res

Re: [MacRuby-devel] Strings Differ between Ruby and MacRuby?

2010-10-11 Thread Caio Chassot
On 2010-10-11, at 16:07 , Shaun August wrote: > > The script works in ruby and I can get both the "\030" and the "\220" values > to test true When in MRI, are you testing in ruby 1.9? This reeks of encoding issues. > If I have to do a work around is there any way to tell what encodings are > b

Re: [MacRuby-devel] [ANN] MacRuby 0.7

2010-10-11 Thread John Barnette
On Oct 11, 2010, at 11:54 AM, Ryan Davis wrote: > I haven't tried using isolate on macruby yet, but let me know if you have any > issues. The tests segfault on 0.7 right now, I have a note to look at this before the next Isolate release. ___ MacRuby-d

Re: [MacRuby-devel] Strings Differ between Ruby and MacRuby?

2010-10-11 Thread Rob Gleeson
> Is this a bug? Kind of. It looks like MacRuby differs from Ruby 1.9(and 1.8) in that it does not return ASCII-8BIT strings(or "byte" strings) from IO objects. Encoding.default_external is set to UTF-8, where as in Ruby 1.9 it is set to ASCII-8BIT. Encoding.default_internal is set to nil, whic

Re: [MacRuby-devel] [ANN] MacRuby 0.7

2010-10-11 Thread Matt Aimonetti
+1 for Isolate, I use it every day at work Sent from my iPhone On Oct 11, 2010, at 12:56, John Barnette wrote: > On Oct 11, 2010, at 11:54 AM, Ryan Davis wrote: >> I haven't tried using isolate on macruby yet, but let me know if you have >> any issues. > > The tests segfault on 0.7 right now,

[MacRuby-devel] BridgeSupport Preview 1

2010-10-11 Thread Laurent Sansonetti
Hi guys, As promised for a long time, we finally prepared a preview of the next BridgeSupport implementation we have been working on. This new implementation has significant differences versus the current one; the generator has been rewritten on top of clang/llvm. It now offers accurate metada

Re: [MacRuby-devel] macirb & awesome_print

2010-10-11 Thread Laurent Sansonetti
Hi Brad, Could you paste your irbrc file? I suspect it contains more than requiring awesome_print, since Eloy was able to have it loaded separately. Thanks, Laurent On Oct 9, 2010, at 7:51 AM, Brad Hutchins wrote: > Any head way on macirb issue that I understand some others have also > experi

Re: [MacRuby-devel] Strings Differ between Ruby and MacRuby?

2010-10-11 Thread Shaun August
Hi Guys, Thanks for your help. I am still running 1.8.6 on my machine so I guess it is time to upgrade so I don't chase my tail for too long. I am not familiar with the character encodings but I'm reading up on them now. Thanks for your help. Shaun