Re: [MacRuby-devel] Using built-in ruby libraries in packaged applications.

2009-04-20 Thread Alex Vollmer
On Apr 20, 2009, at Apr 20, 5:51 PM, Laurent Sansonetti wrote: That is actually a pretty good idea, the default rb_main.rb could require an extra file if it exists in the resource directory, and the target would generate it. If anyone wants to contribute a patch I would commit it :-) Cool

Re: [MacRuby-devel] Using built-in ruby libraries in packaged applications.

2009-04-20 Thread Laurent Sansonetti
That is actually a pretty good idea, the default rb_main.rb could require an extra file if it exists in the resource directory, and the target would generate it. If anyone wants to contribute a patch I would commit it :-) Laurent Sent from my iPhone On Apr 20, 2009, at 4:37 PM, Alex Vollme

Re: [MacRuby-devel] Using built-in ruby libraries in packaged applications.

2009-04-20 Thread Alex Vollmer
On Apr 20, 2009, at Apr 20, 1:32 PM, Laurent Sansonetti wrote: This is the right way to do it. The "Embed MacRuby" target configures the linking settings of your app but you still need to hack the load path in rb_main.rb to point it to the MacRuby stdlib. Here is another way: $:.map! { |x|

Re: [MacRuby-devel] Using built-in ruby libraries in packaged applications.

2009-04-20 Thread Laurent Sansonetti
Hi Alex, On Apr 19, 2009, at 9:53 PM, Alex Vollmer wrote: I have a bit of code that uses the Ruby base64 library and I would like to package the MacRuby framework into my application. I've added the "Embed MacRuby" target to my build and the MacRuby framework shows up properly in my applic