making knife.rb more portable so as to work with vagrant