sstephenson/execjs — Issue #70: nodejs selected, but with incorrect path
Author: rcbth
Created: 2012-02-08 19:50:03+00:00
State: open

i'm running into an odd issue whereby execjs seems to correctly identify that nodejs is available, but then tries to run it from not a full path.

sh: node: not found
/bundle/ruby/1.8/gems/execjs-1.3.0/lib/execjs/external_runtime.rb:150:in `exec_runtime'

this is the result of a rake task run using `bundle exec`. nodjs was installed from source.

# which node
/usr/local/bin/node

thanks!