Skip to content

Instantly share code, notes, and snippets.

@nohtyp
Created August 9, 2014 18:19
Show Gist options
  • Select an option

  • Save nohtyp/65ad3b038cb6489aa93d to your computer and use it in GitHub Desktop.

Select an option

Save nohtyp/65ad3b038cb6489aa93d to your computer and use it in GitHub Desktop.
This gist is to be used with the hubot gist so that you can execute the script from any directory. This file goes in /usr/local/bin/ (so it's executable by everyone)
#Web url where info was obtained
#http://lostechies.com/derickbailey/2012/04/24/executing-a-project-specific-nodenpm-package-a-la-bundle-exec/
/home/hubot/myhubot/node_modules/.bin/$@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment