[TxMt] Re: Plugin development: Ruby Version Madness

Jacob Carlborg doob at me.com
Tue Mar 29 14:53:33 UTC 2016


On 2016-03-29 09:42, Fabian Zeindl wrote:
> I’m trying to integrate ternjs [0] into Textmate and am running into problems:
>
> * if I use  #!/usr/bin/env ruby18 -wKU I can’t
>
> require(‘json’)
>
> in my script, it gives me a loadError

There's no 'json' module in Ruby 1.8.7, it first appeared in 1.9.2 (as 
far as I can see). The easiest would probably be to copy the JSON gem 
into your bundle.

-- 
/Jacob Carlborg



More information about the textmate mailing list