--- bin/smart-proxy.orig 2017-05-08 15:18:42 UTC +++ bin/smart-proxy @@ -1,6 +1,7 @@ #!/usr/bin/env ruby $LOAD_PATH.unshift(*Dir[File.expand_path("../../lib", __FILE__), File.expand_path("../../modules", __FILE__)]) +$LOAD_PATH.unshift(*Dir["%%DATADIR%%/lib", "%%DATADIR%%/modules"]) require 'smart_proxy_main' Proxy::Launcher.new.launch