Hi Alvaro,

See the answers to your questions below. Very thorough!

I see no ruby collision, maybe something else collides.

The Git for Windows version I am using is 

$ git --version
git version 2.5.2.windows.1

It has 
$ bash --version
GNU bash, version 4.3.42(2)-release (x86_64-pc-msys)

Am Freitag, 18. September 2015 06:05:58 UTC+2 schrieb Alvaro Miranda 
Aguilera:
>
> maybe it's having other ruby or programs in the path that are causing 
> issues? 
>
> What's the output of: 
>
> vagrant version 
>

$ vagrant version                                                           
                                   
C:/AZ_DATEN/Programme/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/bundler.rb:74:in
 
`[]=': Invalid argu
ment - 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>'         

 

> vagrant plugin list 
>

xs47xsd@CS050342  /c/AZ_DATEN/ws                                           
                                    
$ vagrant plugin list                                                       
                                   
C:/AZ_DATEN/Programme/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/bundler.rb:74:in
 
`[]=': Invalid argu
ment - 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>'                                                                     
                                    


> Then from a cmd.exe session 
> echo %PATH%


>echo %PATH%
C:\ProgramData\Oracle\Java\javapath;C:\Program Files 
(x86)\MQClient\Java\lib;C:\
Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\Windows
PowerShell\v1.0\;C:\ProgramData\prisma;C:\Program Files 
(x86)\prismaclient;C:\Pr
ogram Files (x86)\IBM\Personal Communications\;C:\Program Files 
(x86)\IBM\Trace
Facility\;C:\Program Files (x86)\Microsoft Application Virtualization 
Client;C:\
Program Files (x86)\Enterprise 
Vault\EVClient\;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PRO
GRA~1\IBM\SQLLIB\FUNCTION;C:\Program Files 
(x86)\SAS\SharedFiles\Formats;C:\Prog
ram Files (x86)\MQClient\bin64;C:\Program Files 
(x86)\MQClient\bin;C:\Program Fi
les (x86)\MQClient\Exits;C:\Program Files 
(x86)\MQClient\ADAG\bin;C:\Program Fil
es (x86)\MQClient\Exits64;C:\Program Files 
(x86)\MQClient\ADAG\bin64;C:\Program
Files (x86)\UltraEdit;C:\Program 
Files\TortoiseSVN\bin;C:\az_daten\programme\nod
ejs\;C:\az_daten\programme\Git\cmd;C:\az_daten\programme\Git\mingw64\bin;C:\az_d
aten\programme\Git\usr\bin;C:\AZ_DATEN\Programme\Vagrant\bin;C:\AZ_DATEN\program
me\jdk1.8.0_25\bin;C:\az_daten\npm;C:\AZ_DATEN\programme\maven\apache-maven-3.0.
5\bin

 

>
>
> From a bash session 
> echo $PATH 
>

$ echo $PATH
/c/Users/xs47xsd/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/mingw64/bin:/usr/bin:/c/ProgramData/Oracle/Java/javapath:/c/Program
 
Files 
(x86)/MQClient/Java/lib:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/ProgramData/prisma:/c/Program
 
Files (x86)/prismaclient:/c/Program Files (x86)/IBM/Personal 
Communications:/c/Program Files (x86)/IBM/Trace Facility:/c/Program Files 
(x86)/Microsoft Application Virtualization Client:/c/Program Files 
(x86)/Enterprise 
Vault/EVClient:/c/PROGRA~1/IBM/SQLLIB/BIN:/c/PROGRA~1/IBM/SQLLIB/FUNCTION:/c/Program
 
Files (x86)/SAS/SharedFiles/Formats:/c/Program Files 
(x86)/MQClient/bin64:/c/Program Files (x86)/MQClient/bin:/c/Program Files 
(x86)/MQClient/Exits:/c/Program Files (x86)/MQClient/ADAG/bin:/c/Program 
Files (x86)/MQClient/Exits64:/c/Program Files 
(x86)/MQClient/ADAG/bin64:/c/Program Files (x86)/UltraEdit:/c/Program 
Files/TortoiseSVN/bin:/c/az_daten/programme/nodejs:/c/az_daten/programme/Git/cmd:/c/az_daten/programme/Git/mingw64/bin:/c/az_daten/programme/Git/usr/bin:/c/AZ_DATEN/Programme/Vagrant/bin:/c/AZ_DATEN/programme/jdk1.8.0_25/bin:/c/az_daten/npm:/c/AZ_DATEN/programme/maven/apache-maven-3.0.5/bin:/usr/bin/vendor_perl:/usr/bin/core_perl



 

> which vagrant 
>

$ which vagrant
/c/AZ_DATEN/Programme/Vagrant/bin/vagrant

 

> which ruby 
>
                                                                            
                                                                            
                    
$ which ruby
which: no ruby in 
(/c/Users/xs47xsd/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/mingw64/bin:/usr/bin:/c/ProgramData/Oracle/Java/javapath:/c/Program
 
Files 
(x86)/MQClient/Java/lib:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/ProgramData/prisma:/c/Program
 
Files (x86)/prismaclient:/c/Program Files (x86)/IBM/Personal 
Communications:/c/Program Files (x86)/IBM/Trace Facility:/c/Program Files 
(x86)/Microsoft Application Virtualization Client:/c/Program Files 
(x86)/Enterprise 
Vault/EVClient:/c/PROGRA~1/IBM/SQLLIB/BIN:/c/PROGRA~1/IBM/SQLLIB/FUNCTION:/c/Program
 
Files (x86)/SAS/SharedFiles/Formats:/c/Program Files 
(x86)/MQClient/bin64:/c/Program Files (x86)/MQClient/bin:/c/Program Files 
(x86)/MQClient/Exits:/c/Program Files (x86)/MQClient/ADAG/bin:/c/Program 
Files (x86)/MQClient/Exits64:/c/Program Files 
(x86)/MQClient/ADAG/bin64:/c/Program Files (x86)/UltraEdit:/c/Program 
Files/TortoiseSVN/bin:/c/az_daten/programme/nodejs:/c/az_daten/programme/Git/cmd:/c/az_daten/programme/Git/mingw64/bin:/c/az_daten/programme/Git/usr/bin:/c/AZ_DATEN/Programme/Vagrant/bin:/c/AZ_DATEN/programme/jdk1.8.0_25/bin:/c/az_daten/npm:/c/AZ_DATEN/programme/maven/apache-maven-3.0.5/bin:/usr/bin/vendor_perl:/usr/bin/core_perl)

 

>
> Thanks 
> alvaro. 
>
>
> On Fri, Sep 18, 2015 at 4:11 AM, Dietrich Schulten 
> <[email protected] <javascript:>> 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] <javascript:>. 
> > 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/06451374-fccd-46a7-8ed2-20015fedb3ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to