Re: [MacRuby-devel] Logging to Xcode's Console

2011-09-11 Thread Matt Aimonetti
Yes a puts would work, look at the debug area in Xcode. - Matt Sent from my iPhone On Sep 11, 2011, at 14:11, Mark Szymanski wrote: > How would I log to Xcode's console? It doesn't seem like I can do so via a > simple `puts` call. > ___ > MacRuby-de

[MacRuby-devel] Logging to Xcode's Console

2011-09-11 Thread Mark Szymanski
How would I log to Xcode's console? It doesn't seem like I can do so via a simple `puts` call. ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Re: [MacRuby-devel] XCode 4 error

2011-09-11 Thread Matt Aimonetti
The book is currently in production, so I don't think there is an official date but it should be soon. - Matt On Sun, Sep 11, 2011 at 11:46 AM, Robert Love wrote: > > On Sep 11, 2011, at 12:37 PM, Matt Aimonetti wrote: > > > As Mark said, XCode 4.1 is buggy and doesn't call out to MacRuby script

Re: [MacRuby-devel] XCode 4 error

2011-09-11 Thread Robert Love
On Sep 11, 2011, at 12:37 PM, Matt Aimonetti wrote: > As Mark said, XCode 4.1 is buggy and doesn't call out to MacRuby script for > the IB integration. I worked with Apple to get that fixed & they seeded a > fixed version in the last 4.2 betas. I didn't mention that in my book because > by the

Re: [MacRuby-devel] XCode 4 error

2011-09-11 Thread Matt Aimonetti
hmm good questions, I only have an iOS license :( - Matt On Sun, Sep 11, 2011 at 10:53 AM, az...@gmx.net wrote: > I just tried to get the XCode 4.2 beta but it's saying for iOS developers > only (I have an OSX dev licence) - is that a fault on their part or are > betas of it usually available f

Re: [MacRuby-devel] XCode 4 error

2011-09-11 Thread az...@gmx.net
I just tried to get the XCode 4.2 beta but it's saying for iOS developers only (I have an OSX dev licence) - is that a fault on their part or are betas of it usually available for OS X dev licences only? (Or am I looking in the wrong place :/) AstonJ On 11 Sep 2011, at 18:37, Matt Aimonetti wr

Re: [MacRuby-devel] XCode 4 error

2011-09-11 Thread Matt Aimonetti
As Mark said, XCode 4.1 is buggy and doesn't call out to MacRuby script for the IB integration. I worked with Apple to get that fixed & they seeded a fixed version in the last 4.2 betas. I didn't mention that in my book because by the time it will be published, 4.2 will be released. If you don'

Re: [MacRuby-devel] Using the Twitter gem in a MacRuby application

2011-09-11 Thread Matt Aimonetti
This chapter from my book should help: http://ofps.oreilly.com/titles/9781449380373/_using_ruby_3rd_party_libraries.html - Matt Sent from my iPhone On Sep 11, 2011, at 9:52, Mark Rada wrote: > Yes, you simply need to use the --embed-gem option when deploying. Check out > the macruby_deploy m

Re: [MacRuby-devel] XCode 4 error

2011-09-11 Thread Mark Rada
MacRuby does not work with Xcode 4.1, but it OS working with 4.2 betas. Check out macruby.org/trac/ticket/1322 Sent from my iDevice On 2011-09-11, at 12:13, Rob Gleeson wrote: > > On 11 Sep 2011, at 16:30, Timothy Hart wrote: > >> For some reason it started working on a reboot. So far so goo

Re: [MacRuby-devel] Using the Twitter gem in a MacRuby application

2011-09-11 Thread Mark Rada
Yes, you simply need to use the --embed-gem option when deploying. Check out the macruby_deploy man page for details. Sent from my iDevice On 2011-09-11, at 12:06, Mark Szymanski wrote: > How would I go about using the Twitter > (https://github.com/jnunemaker/twitter) gem with MacRuby? I wan

Re: [MacRuby-devel] XCode 4 error

2011-09-11 Thread Rob Gleeson
On 11 Sep 2011, at 16:30, Timothy Hart wrote: > For some reason it started working on a reboot. So far so good. I'm still > getting that message when trying to build some of the examples from Matt > Aimonetti's MacRuby: The Definitive Guide > (http://ofps.oreilly.com/titles/9781449380373/index

[MacRuby-devel] Using the Twitter gem in a MacRuby application

2011-09-11 Thread Mark Szymanski
How would I go about using the Twitter (https://github.com/jnunemaker/twitter) gem with MacRuby? I want to be able to `require` it without having the user have to have it already installed. Is there some way to package it with the application? ___ Mac

Re: [MacRuby-devel] XCode 4 error

2011-09-11 Thread Timothy Hart
For some reason it started working on a reboot. So far so good. I'm still getting that message when trying to build some of the examples from Matt Aimonetti's MacRuby: The Definitive Guide ( http://ofps.oreilly.com/titles/9781449380373/index.html). On Sun, Sep 11, 2011 at 11:04 AM, Rob Gleeson

Re: [MacRuby-devel] XCode 4 error

2011-09-11 Thread Rob Gleeson
On 11 Sep 2011, at 16:00, Jeremy Smith wrote: > There's also the whole issue of MacRuby not working with new versions of > Xcode? I thought 4.1 was one of those that the framework wouldn't load in to. > Yeah, I'm curious about this too. I got a new macbook pro and I'd like to play with MacRu

Re: [MacRuby-devel] XCode 4 error

2011-09-11 Thread Jeremy Smith
There's also the whole issue of MacRuby not working with new versions of Xcode? I thought 4.1 was one of those that the framework wouldn't load in to. On Sun, Sep 11, 2011 at 9:59 AM, Perry E. Metzger wrote: > On Sun, 11 Sep 2011 09:41:53 -0400 Timothy Hart > wrote: > > Hi folks, > > > > I must

Re: [MacRuby-devel] XCode 4 error

2011-09-11 Thread Perry E. Metzger
On Sun, 11 Sep 2011 09:41:53 -0400 Timothy Hart wrote: > Hi folks, > > I must be missing something really simple. I'm running Lion, Xcode > 4.1, and the latest MacRuby. When I open a project and try to build > it, it gives an Embed issue: "Shell Script Invocation Error. > Command /bin/sh failed w

[MacRuby-devel] XCode 4 error

2011-09-11 Thread Timothy Hart
Hi folks, I must be missing something really simple. I'm running Lion, Xcode 4.1, and the latest MacRuby. When I open a project and try to build it, it gives an Embed issue: "Shell Script Invocation Error. Command /bin/sh failed with exit code 1." It isn't like I don't have sh on my system. Thoug