I think you need some require statements for `diff/lcs/whatever`. I think this probably works in testing because rspec uses diff-lcs.