{"action":"created","issue":{"url":"https://api.github.com/repos/timkelty/shipit-db/issues/10","repository_url":"https://api.github.com/repos/timkelty/shipit-db","labels_url":"https://api.github.com/repos/timkelty/shipit-db/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/timkelty/shipit-db/issues/10/comments","events_url":"https://api.github.com/repos/timkelty/shipit-db/issues/10/events","html_url":"https://github.com/timkelty/shipit-db/issues/10","id":134278556,"number":10,"title":"'db:init' errored after 298 μs","user":{"login":"Chrisedmo","id":255639,"avatar_url":"https://avatars.githubusercontent.com/u/255639?v=3","gravatar_id":"","url":"https://api.github.com/users/Chrisedmo","html_url":"https://github.com/Chrisedmo","followers_url":"https://api.github.com/users/Chrisedmo/followers","following_url":"https://api.github.com/users/Chrisedmo/following{/other_user}","gists_url":"https://api.github.com/users/Chrisedmo/gists{/gist_id}","starred_url":"https://api.github.com/users/Chrisedmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chrisedmo/subscriptions","organizations_url":"https://api.github.com/users/Chrisedmo/orgs","repos_url":"https://api.github.com/users/Chrisedmo/repos","events_url":"https://api.github.com/users/Chrisedmo/events{/privacy}","received_events_url":"https://api.github.com/users/Chrisedmo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-17T13:20:28Z","updated_at":"2016-03-31T19:42:04Z","closed_at":null,"body":"Im getting the following errors when trying to pull my production DB:\r\n\r\n\r\n```\r\nRunning 'db:init' task...\r\n'db:init' errored after 298 μs\r\nTypeError: Arguments to path.join must be strings\r\n    at Object.module.exports [as join] (/usr/local/lib/node_modules/shipit-db/node_modules/path2/posix/join.js:10:10)\r\n    at Shipit.task (/usr/local/lib/node_modules/shipit-db/tasks/db/init.js:16:31)\r\n    at module.exports (/usr/local/lib/node_modules/shipit-cli/node_modules/orchestrator/lib/runTask.js:34:7)\r\n    at Shipit.Orchestrator._runTask (/usr/local/lib/node_modules/shipit-cli/node_modules/orchestrator/index.js:273:3)\r\n    at Shipit.Orchestrator._runStep (/usr/local/lib/node_modules/shipit-cli/node_modules/orchestrator/index.js:214:10)\r\n    at Shipit.Orchestrator.start (/usr/local/lib/node_modules/shipit-cli/node_modules/orchestrator/index.js:134:8)\r\n    at initShipit (/usr/local/lib/node_modules/shipit-cli/bin/shipit:81:10)\r\n    at Liftoff.invoke (/usr/local/lib/node_modules/shipit-cli/bin/shipit:55:5)\r\n    at Liftoff.<anonymous> (/usr/local/lib/node_modules/shipit-cli/node_modules/liftoff/index.js:192:16)\r\n    at module.exports (/usr/local/lib/node_modules/shipit-cli/node_modules/flagged-respawn/index.js:17:3)\r\n    at Liftoff.<anonymous> (/usr/local/lib/node_modules/shipit-cli/node_modules/liftoff/index.js:185:9)\r\n    at /usr/local/lib/node_modules/shipit-cli/node_modules/liftoff/index.js:159:9\r\n    at /usr/local/lib/node_modules/shipit-cli/node_modules/v8flags/index.js:108:14\r\n    at /usr/local/lib/node_modules/shipit-cli/node_modules/v8flags/index.js:36:12\r\n    at /usr/local/lib/node_modules/shipit-cli/node_modules/v8flags/index.js:47:7\r\n    at nextTickCallbackWith0Args (node.js:452:9)\r\n    at process._tickCallback (node.js:381:13)\r\n    at Function.Module.runMain (module.js:431:11)\r\n    at startup (node.js:139:18)\r\n    at node.js:999:3\r\nArguments to path.join must be strings\r\n```"},"comment":{"url":"https://api.github.com/repos/timkelty/shipit-db/issues/comments/204095566","html_url":"https://github.com/timkelty/shipit-db/issues/10#issuecomment-204095566","issue_url":"https://api.github.com/repos/timkelty/shipit-db/issues/10","id":204095566,"user":{"login":"Chrisedmo","id":255639,"avatar_url":"https://avatars.githubusercontent.com/u/255639?v=3","gravatar_id":"","url":"https://api.github.com/users/Chrisedmo","html_url":"https://github.com/Chrisedmo","followers_url":"https://api.github.com/users/Chrisedmo/followers","following_url":"https://api.github.com/users/Chrisedmo/following{/other_user}","gists_url":"https://api.github.com/users/Chrisedmo/gists{/gist_id}","starred_url":"https://api.github.com/users/Chrisedmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chrisedmo/subscriptions","organizations_url":"https://api.github.com/users/Chrisedmo/orgs","repos_url":"https://api.github.com/users/Chrisedmo/repos","events_url":"https://api.github.com/users/Chrisedmo/events{/privacy}","received_events_url":"https://api.github.com/users/Chrisedmo/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T19:42:04Z","updated_at":"2016-03-31T19:42:04Z","body":"Here you go…\r\n\r\nI've changed details.\r\n\r\n```\r\nmodule.exports = function (shipit) {\r\n  require('shipit-db')(shipit);\r\n\r\n  shipit.initConfig({\r\n    default: {\r\n      db: {\r\n        local: {\r\n          host     : 'localhost',\r\n          adapter  : 'mysql',\r\n          username : 'root',\r\n          password : 'root',\r\n          socket   : '/Applications/MAMP/tmp/mysql/mysql.sock',\r\n          database : 'database_name',\r\n        },\r\n      }\r\n    },\r\n    production: {\r\n      servers: 'blahblah@website.com',\r\n      db: {\r\n        remote: {\r\n          host     : '178.62.111.XXX',\r\n          adapter  : 'mysql',\r\n          username : 'username',\r\n          password : 'password',\r\n          database : 'database',\r\n        }\r\n      }\r\n    }\r\n  });\r\n};\r\n\r\n```"}}