I tried to remove 

```ruby 
commands :npm => '/usr/local/node/node-default/bin/npm'
```

and use 

```ruby 
has_command(:npm, 'npm') 
```

but that raised an error … npm command not found.

Hm.