maybe it's having other ruby or programs in the path that are causing issues?
What's the output of: vagrant version vagrant plugin list Then from a cmd.exe session echo %PATH% >From a bash session echo $PATH which vagrant which ruby Thanks alvaro. On Fri, Sep 18, 2015 at 4:11 AM, Dietrich Schulten <[email protected]> wrote: > Hi, > > I try to get started with Vagrant under Windows 7 in Bash. I followed the > Getting Started Guide and I try to run my first virtual machine with Virtual > Box in bash. > > I've installed Virtual Box and the Virtualbox manager starts up. > Also, in cmd I can run vagrant init hashicorp/precise32 and vagrant up > afterwards (having set up our corporate proxy) > > But I get this output in cygwin bash: > $ vagrant init hashicorp/precise32 > C:/mystuff/Programme/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/bundler.rb:74:in > `[]=': Invalid argument - ruby_setenv (Errno::EINVAL) > from > C:/AZ_DATEN/Programme/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/bundler.rb:74:in > `init!' > from > C:/AZ_DATEN/Programme/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/pre-rubygems.rb:23:in > `<main>' > > The same happens in Windows Git-Bash (Git for Windows 2.5.2-64) > > What's amiss? Is it not possible to run vagrant from bash on Windows? > > Best regards, > Dietrich > > > > > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in violation > of those guidelines may result in your removal from this mailing list. > > GitHub Issues: https://github.com/mitchellh/vagrant/issues > IRC: #vagrant on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vagrant-up/3354fa28-d59f-4ade-9798-57018003e881%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ey%2BKoj9W1UNJHip3HUkkt_hOJ%3DG2T2JnPTX8e2oOYE6ag%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
