I installed the hubot server version 2.7.1. Here is the dependency section of mine package.json:
"dependencies": {
"hubot": ">= 2.6.0 < 3.0.0",
"hubot-scripts": ">= 2.5.0 < 3.0.0",
"hubot-hipchat": "~2.6.4"
},
When it starts, it loads the scripts in scripts/, but it seems to ignore the collection that I entered in hubot-scripts.json. Here is the first part of this file:
["shipit.coffee", "sudo", "9gag", "abstract"
With detailed startup logs, you can see that shipit.coffee is enabled (one of the defaults), but none of the others:
[Tue Feb 25 2014 10:59:46 GMT-0800 (PST)] DEBUG Loading hubot-scripts from /path/node_modules/hubot-scripts/src/scripts
[Tue Feb 25 2014 10:59:46 GMT-0800 (PST)] DEBUG Parsing help for /path/node_modules/hubot-scripts/src/scripts/shipit.coffee
[Tue Feb 25 2014 10:59:46 GMT-0800 (PST)] DEBUG Loading external-scripts from npm packages
There node_modules/hubot-scripts/src/scripts/are about 460 files in the directory , and it contains the four specified in my file hubot-scripts.json. All I can assume is that it is not reading this file .. or anything else.
, , , .