New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Foreman start fails on Windows: Bad file descriptor #348
Comments
I'm having the exact same problem, please let me know if you find a solution! |
There seems to be an issue with the current version 0.62.0 of foreman. I found the following post on stackoverflow suggesting to use version 0.61.0 instead http://stackoverflow.com/questions/15399637/cant-start-foreman-in-heroku-tutorial-using-python Just some hint: Ensure that version 0.62.0 is removed completely by invoking gem uninstall foreman and selecting version 0.62.0 (if multiple versions are installed). Then, install version 0.61.0 via gem install foreman -v 0.61 |
your production server is going to be linux, |
foreman v0.63 has the same issue, need to go back to .61 |
@yakko My work machine is Windows based. Linux isn't always an option. |
@connorbode so is mine, I run a very light debian 6 in an oracle virtualbox :) |
thanks @ItalianChef that worked! :) |
I also have the same problem but downgrading to foreman v0.61 didn't worked. |
hey @ddollar, could you take a look this please? |
Reverting to version 0.61 fixed it for me |
@ItalianChef Thank you very much, that was precisely the answer I needed! I'm glad you're patient enough to deal with us developers who go to all the trouble of setting up on a Windows development machine despite the predominance of POSIX systems. Hope this is fixed soon in the most recent release. |
I have this issue too.
|
Due to a number of issues with the Ruby implementation, I have rewritten Foreman in Go. Please check it out at https://github.com/ddollar/forego |
I changed my version from 0.63 to 0.61 on Windows device and it works !! |
+1, you guys saved me. thanks a lot. |
+1 @ItalianChef Thanks! |
almost a year after, @ItalianChef helped again. |
@ItalianChef advice still going strong |
Same problem with v0.63 (on Windows 7 x64) and same solution, v0.61 - thanks, @ItalianChef! |
Thanks, fixed the same problem with v0.67. Note you need to run it as admin. |
@ItalianChef Thanks - Same problem had on 0.74.0! |
@ItalianChef I also had this problem - thanks for the workaround! Now we just need postgresql on Windows properly! |
@ItalianChef Same here.. Thanks! |
I put a patch in for this #477, so the next release should be resolved |
Thanks! Do we wait for Heroku Toolbelt to be updated, or is there a way to upgrade within that? |
we should do a release of the toolbelt soon, but I want to get a couple of people to test it. Would you mind? You'll need to install it with bundler with reference to the master branch on github http://bundler.io/git.html and run it with |
I can; can I install it without killing my current install? |
Yeah, but you'll need to do it via bundler. You can't just gem install On Thursday, August 21, 2014, robertlagrant notifications@github.com
|
I'm spoiled by pip, it seems :) |
I know this sounds ridiculous, but I don't know how to set up a gemfile etc to use Bundler. When I get half an hour I'll investigate. |
I am having issues running Foreman on Windows using ruby 1.93, standard install, on Windows 8 Pro, installed both directly, i.e.
gem install foreman
and by building edge foreman manually.It seems to actually run the application (a simple python webapp, in this case, but nothing written to stdout is actuall displayed, and it seems to fail silently on other occasions.
Is this expected behavior? The README lists support for Windows, but it seems to be a non-blocking issue in this version of foreman/ruby.
I do not believe the Procfile is actually the issue, as it works well on Linux. I made sure that there were not weird line endings, and my ruby path contains no spaces, etc which may trip up paths on Windows.
Please let me know if there is anything I can do to help, sadly I am not very familiar with Ruby and nonblocking reading on Windows.
Procfile:
The text was updated successfully, but these errors were encountered: