[SVN] Re: Best Practice for Packaging Ruby Gem with Bundle?

Allan Odgaard mailinglist at textmate.org
Fri May 4 06:05:30 UTC 2012


On 03/05/2012, at 23.00, Donovan Chandler wrote:

> I plan to distribute a bundle that relies on a couple ruby gems. What is the easiest way to deliver those gems with the bundle? It needs to be very user friendly, assuming that the user doesn't know how to configure a ruby environment or even install gems on their own.

Place the gems in the Support folder of the bundle (which you need to manually create outside the bundle editor).

In the script you can reference this via ENV['TM_BUNDLE_SUPPORT'] so you would add that to the load path or use it when you ‘require’ the modules.



More information about the textmate-dev mailing list