Hi Everyone,
I am still not understanding how to include gems in my MacRuby
project. From what has been discussed, I "unpacked"
the gem and included it in the project in "Vendor/gems."
I am using this in the rb_main.rb file, but it is resulting in 2180
errors.
Dir.glob(File.expand_path("#{NSBundle.mainBundle.resourcePath}/vendor/
gems/*", __FILE__)).each do |gem|
$:.unshift File.join(gem, 'lib')
end
I know this must be very simple but I am not getting it. I write Ruby
scripts nearly every day but I all of my development
experience is with Objective-C. I would really appreciate a small
example of how to accomplish this.
Thanks,
Craig
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel