-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
vagrant login
fails
#3119
Comments
The relevant debug log part is this:
|
Hm, I can't reproduce this. We're not doing anything fancy here: https://github.com/mitchellh/vagrant/blob/24d8067c7b0b8b7042b6b92c44cd7e48c693a8b4/lib/vagrant/ui.rb#L150 Can you run an |
Sure, I'll try - what exactly should I run/execute? Thank you! |
That line, pretty much. |
What I do/get:
|
But that's the irb from Cygwin itself. |
|
I'm in Cygwin too and ran both |
Same here, not using Cygwin but Chef's embedded Ruby distro
Fails the same way no my Mac - same version of Ruby |
@sneal That was added in Ruby 2.0 (what Vagrant ships with). You'd need to try that. |
@thasmo One other thing you can try: modify the Vagrant source code directly to change that line I linked to just |
@mitchellh yes, that worked. How is this related to the Ruby version I run? Shouldn't Vagrant use it's own? Is it a misconfiguration by myself? |
@thasmo Its not related to the Ruby version, it is a Cygwin problem: you must have some Cygwin dependency (or missing one) that is not supporting the syscall to have noecho. I can fix this now though in a jank way. |
Hm, weird. I can check that dependency thing when I'm at home. I installed Ruby via Cygwin package - not sure if it's coming from the original package repo or from cygwinports, which I use too. |
Fixed. |
@thasmo Its not a Ruby issue: Vagrant uses its own packaged Ruby. The issue is that your stdin is reporting it doesn't support the noecho functionality. Its likely an environmental variable issue... |
On Cygwin (Windows 8.1)
vagrant login
fails:The text was updated successfully, but these errors were encountered: