Skip to content

Commit

Permalink
Fix assigning ENV var in 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Apr 7, 2011
1 parent 05d1e01 commit e5f253f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 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

0 comments on commit e5f253f

Please sign in to comment.