On 2016-03-30 16:30, Fabian Zeindl wrote:
I’ve been trying this for 2 hours now and can’t get it to work. I copied json-1.8.3 gem into my Support directory and adde:
require ENV['TM_BUNDLE_SUPPORT'] + '/json-1.8.3/lib/json/json.rb’
which gives me a LoadError about the next relatively required file. (lib/json/common.rb)
Try adding ENV['TM_BUNDLE_SUPPORT'] + '/json-1.8.3/lib to the Ruby load path. Then "require 'json'" as usual.
BTW, since this gem contains native code you need tot make sure that the native code is compiled.