{"action":"created","issue":{"url":"https://api.github.com/repos/jalkoby/squasher/issues/40","repository_url":"https://api.github.com/repos/jalkoby/squasher","labels_url":"https://api.github.com/repos/jalkoby/squasher/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/jalkoby/squasher/issues/40/comments","events_url":"https://api.github.com/repos/jalkoby/squasher/issues/40/events","html_url":"https://github.com/jalkoby/squasher/issues/40","id":251466061,"number":40,"title":"Specifying MySQL Server Settings?","user":{"login":"jonmchan","id":1827190,"avatar_url":"https://avatars0.githubusercontent.com/u/1827190?v=4","gravatar_id":"","url":"https://api.github.com/users/jonmchan","html_url":"https://github.com/jonmchan","followers_url":"https://api.github.com/users/jonmchan/followers","following_url":"https://api.github.com/users/jonmchan/following{/other_user}","gists_url":"https://api.github.com/users/jonmchan/gists{/gist_id}","starred_url":"https://api.github.com/users/jonmchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonmchan/subscriptions","organizations_url":"https://api.github.com/users/jonmchan/orgs","repos_url":"https://api.github.com/users/jonmchan/repos","events_url":"https://api.github.com/users/jonmchan/events{/privacy}","received_events_url":"https://api.github.com/users/jonmchan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-20T04:37:45Z","updated_at":"2017-08-21T17:07:49Z","closed_at":"2017-08-20T14:59:30Z","body":"I'm getting:\r\n\r\n```\r\nMysql2::Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)\r\n/Users/jonathan/.rbenv/versions/2.3.1/bin/bundle:23:in `load'\r\n/Users/jonathan/.rbenv/versions/2.3.1/bin/bundle:23:in `<main>'\r\n```\r\n\r\nI don't have sockets open, but use a TCP/IP connection. Is there a way to pass parameters to squasher? I use dotenv - is squasher not picking up the config from dotenv?"},"comment":{"url":"https://api.github.com/repos/jalkoby/squasher/issues/comments/323800561","html_url":"https://github.com/jalkoby/squasher/issues/40#issuecomment-323800561","issue_url":"https://api.github.com/repos/jalkoby/squasher/issues/40","id":323800561,"user":{"login":"jonmchan","id":1827190,"avatar_url":"https://avatars0.githubusercontent.com/u/1827190?v=4","gravatar_id":"","url":"https://api.github.com/users/jonmchan","html_url":"https://github.com/jonmchan","followers_url":"https://api.github.com/users/jonmchan/followers","following_url":"https://api.github.com/users/jonmchan/following{/other_user}","gists_url":"https://api.github.com/users/jonmchan/gists{/gist_id}","starred_url":"https://api.github.com/users/jonmchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonmchan/subscriptions","organizations_url":"https://api.github.com/users/jonmchan/orgs","repos_url":"https://api.github.com/users/jonmchan/repos","events_url":"https://api.github.com/users/jonmchan/events{/privacy}","received_events_url":"https://api.github.com/users/jonmchan/received_events","type":"User","site_admin":false},"created_at":"2017-08-21T17:07:49Z","updated_at":"2017-08-21T17:07:49Z","body":"The issue is that my database.yml config file specifies ENV['DB_HOST'] variable that in development, is populated by the dotenv gem (https://github.com/bkeepers/dotenv). Squasher is loading up before .env not allowing the ENV['DB_HOST'] environment variable to be properly set. I had to manually load in the shell ```export DB_HOST='...'```. It is a simple enough workaround, but I think it is worth noting that there is a compatibility issue with dotenv and squasher.\r\n"}}
{"actor":{"display_login":"jonmchan"}}