On 25 Feb 2009, at 03:43, Seth Thomas Rasmussen wrote:
On Tue, Feb 24, 2009 at 6:41 PM, Aaron Cohen <[email protected]> wrote:
In response to my own question, I've got it sort of working.

I had to navigate my way down to
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/
on my system, then copy the osx/ folder to the equivalent spot within
the Shoes.app. Then in my application I had to put in the line:

$:.push("/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ lib/ruby/1.8/universal-darwin9.0”)

This seems really ugly and fragile. Any better ideas?

Hmm. I would copy that stuff into your Shoes project directory and
just do a normal, relative require.

Why doesn't a gem install work? Just curious..

This is functionality that ships with OS X as of the release of Leopard and anyone who uses Ruby on current OS X is likely to run into the same gotcha when making a platform-specific Shoes app.


Ellie

Eleanor McHugh
Games With Brains
http://slides.games-with-brains.net
----
raise ArgumentError unless @reality.responds_to? :reason


Reply via email to