diff --git a/bin/pow b/bin/pow index 9ce00ee..f3a83db 100755 --- a/bin/pow +++ b/bin/pow @@ -1,5 +1,6 @@ #!/usr/bin/ruby require 'pathname' -ENV['POW_BIN'] = bin = Pathname.new(__FILE__).realpath.to_s +bin = Pathname.new(__FILE__).realpath root = bin.dirname.parent +ENV['POW_BIN'] = bin.to_s exec root.join("bin/node").to_s, root.join("lib/command.js").to_s, *ARGV