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.