Skip to content

Instantly share code, notes, and snippets.

@ferventcoder
Last active November 19, 2016 04:40
Show Gist options
  • Save ferventcoder/6251225 to your computer and use it in GitHub Desktop.
Save ferventcoder/6251225 to your computer and use it in GitHub Desktop.
Install Vagrant-Windows plugin from source
# WINDOWS
# =======
# This assumes you already have chocolatey installed:
# From cmd.exe:
# @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin
# From powershell:
# iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
#
# This assumes you have vagrant already installed:
# cinst vagrant
# or (for specific version):
# cinst vagrant -version 1.2.7
# NOTE: It really needs to be 1.2.7-ish
#
# This assumes you already have virtualbox installed:
# cinst virtualbox
#
# Check your ruby version:
# ruby -v
# if you don't have 1.9.3 installed, install it with the command below:
# cinst ruby -version 1.9.3.44800
# once installed, please restart the command line. This is important, so don't miss it.
#
# do you have Dev Kit installed?
# cinst ruby.devkit
# =======
# OSX / Linux
# ===========
# You should be ready if you have vagrant installed. Make sure you are using the offical installer
# and NOT the deprecated vagrant gem.
# ===========
# any system
gem install bundler
git clone https://github.com/WinRb/vagrant-windows.git vagrant-windows
cd vagrant-windows
git checkout -t origin/vagrant-1.2
bundle install
bundle exec rake
vagrant plugin install pkg/vagrant-windows-1.2.0.gem
@ferventcoder
Copy link
Author

@cdmoye Gists do not do notifications - I later found that you want 1.3.5 as the minimum required version. You already know since this is over two years later that Vagrant natively supports Windows as of 1.6.0, so the plugin is deprecated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment