{"action":"created","issue":{"url":"https://api.github.com/repos/devinus/poolboy/issues/81","labels_url":"https://api.github.com/repos/devinus/poolboy/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/devinus/poolboy/issues/81/comments","events_url":"https://api.github.com/repos/devinus/poolboy/issues/81/events","html_url":"https://github.com/devinus/poolboy/issues/81","id":112680305,"number":81,"title":"Is Poolboy supported on Windows?","user":{"login":"ejstembler","id":309123,"avatar_url":"https://avatars.githubusercontent.com/u/309123?v=3","gravatar_id":"","url":"https://api.github.com/users/ejstembler","html_url":"https://github.com/ejstembler","followers_url":"https://api.github.com/users/ejstembler/followers","following_url":"https://api.github.com/users/ejstembler/following{/other_user}","gists_url":"https://api.github.com/users/ejstembler/gists{/gist_id}","starred_url":"https://api.github.com/users/ejstembler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejstembler/subscriptions","organizations_url":"https://api.github.com/users/ejstembler/orgs","repos_url":"https://api.github.com/users/ejstembler/repos","events_url":"https://api.github.com/users/ejstembler/events{/privacy}","received_events_url":"https://api.github.com/users/ejstembler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-10-21T21:14:30Z","updated_at":"2015-10-27T13:59:53Z","closed_at":null,"body":"I tried using poolboy in my Elixir program on Windows.  Mix fails to compile it.  Something about rebar.\r\n\r\n<pre>\r\n<code>\r\n>mix deps.compile\r\n==> poolboy (compile)\r\nCompiling src/poolboy.erl failed:\r\nsrc/poolboy.erl:17: type queue() undefined\r\nERROR: compile failed while processing c:/Users/my_user/Projects/my_app/deps/poolboy: rebar_abort\r\n** (Mix) Could not compile dependency :poolboy, \"escript.exe \"c:/Users/my_user/.mix/rebar\"\" command failed. You can recompile this dependency with \"mix deps.compile poolboy\", update it with \"mix deps.update poolboy\" or clean it with \"mix deps.clean poolboy\"\r\n</code>\r\n</pre>\r\n\r\nOn Mac it complied fine:\r\n\r\n<pre>\r\n<code>\r\n$ mix\r\nCould not find \"rebar\", which is needed to build dependency :poolboy\r\nI can install a local copy which is just used by Mix\r\nShall I install rebar? [Yn] Y\r\n* creating /Users/my_user/.mix/rebar\r\n==> poolboy (compile)\r\nCompiled src/poolboy_sup.erl\r\nCompiled src/poolboy_worker.erl\r\nCompiled src/poolboy.erl\r\nCompiled lib/my_app.ex\r\nGenerated my_app app\r\n</code>\r\n</pre>"},"comment":{"url":"https://api.github.com/repos/devinus/poolboy/issues/comments/151504634","html_url":"https://github.com/devinus/poolboy/issues/81#issuecomment-151504634","issue_url":"https://api.github.com/repos/devinus/poolboy/issues/81","id":151504634,"user":{"login":"OnorioCatenacci","id":153365,"avatar_url":"https://avatars.githubusercontent.com/u/153365?v=3","gravatar_id":"","url":"https://api.github.com/users/OnorioCatenacci","html_url":"https://github.com/OnorioCatenacci","followers_url":"https://api.github.com/users/OnorioCatenacci/followers","following_url":"https://api.github.com/users/OnorioCatenacci/following{/other_user}","gists_url":"https://api.github.com/users/OnorioCatenacci/gists{/gist_id}","starred_url":"https://api.github.com/users/OnorioCatenacci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OnorioCatenacci/subscriptions","organizations_url":"https://api.github.com/users/OnorioCatenacci/orgs","repos_url":"https://api.github.com/users/OnorioCatenacci/repos","events_url":"https://api.github.com/users/OnorioCatenacci/events{/privacy}","received_events_url":"https://api.github.com/users/OnorioCatenacci/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T13:59:53Z","updated_at":"2015-10-27T13:59:53Z","body":"Ok--just to insure we're all playing from the same playbook:  type rebar\nversion and post the message.  There are a few different versions of rebar\navailable and we can help you better if we can insure we're all working\nfrom the same version of rebar.\n\nAlso I'd try calling rebar directly (as opposed to calling it from within\nmix) like so: rebar compile poolboy\n\nFrom a command prompt within the poolboy directory of course.\n\nAll of this is not to say that mix shouldn't work with this but it's easier\nto isolate the problem if we can find something that does work and then\ncompare that to the non-working path.\n\nJust my suggestions of course.\n\nOn Tue, Oct 27, 2015 at 9:46 AM, Edward J. Stembler <\nnotifications@github.com> wrote:\n\n> @OnorioCatenacci <https://github.com/OnorioCatenacci> Well, I followed\n> the instructions on the link you provided\n> <http://theburningmonk.com/2014/08/getting-started-with-rebar-on-windows/>\n> on the mailing list.\n>\n> In any case, typing rebar was the first thing I did after modify my path,\n> and starting a new terminal window. It complains about no parameters and\n> displays the usage:\n>\n> >rebar\n> No command to run specified!\n> Usage: rebar [-h] [-c] [-v <verbose>] [-q <quiet>] [-V] [-f]\n> ...\n>\n> Also, on Windows I can do a where:\n>\n> >where rebar\n> C:\\Users\\my_user\\Projects\\rebar\\rebar\n> C:\\Users\\my_user\\Projects\\rebar\\rebar.cmd\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/devinus/poolboy/issues/81#issuecomment-151501341>.\n>\n\n\n\n-- \nOnorio Catenacci\n\nhttp://onor.io\nhttp://www.google.com/+OnorioCatenacci\n"}}