Open rtpHarry opened 9 years ago
I still haven't solved it but just adding a couple more things I've tried:
Navigating to the embedded ruby.exe in powershell and checking what version it is:
PS C:\HashiCorp\Vagrant\embedded\bin> .\ruby.exe --version
ruby 2.0.0p353 (2013-11-22) [i386-mingw32]
Typing ruby
in the bedrock-ansible folder to see if some other version might be in the path. Says command not found.
Moved the vagrant path to the start of the PATH env and restarted powershell. Hoped if anything else was interfering it would short circuit after finding it in the initial path.
YES! I found a solution :)
You just need to add this at the top of the Vagrantfile
file:
require 'yaml'
Everything has installed cleanly now but I'm still getting this problem:
I've tried searching and I think that it's something to do with this snippet that I found on stackoverflow:
As I've already said, this is basically my first day working with powershell, vagrant and all this stuff. I don't know where to start trying to figure out what version of Ruby is installed or if its a bug in your script or in vagrant? Any thoughts? After spending the last 4-5 hours chipping away at these issues it seems that this is finally the one thats beat me.