Skip to content

Instantly share code, notes, and snippets.

@laozhu
Created February 11, 2014 03:51
Show Gist options
  • Select an option

  • Save laozhu/8928982 to your computer and use it in GitHub Desktop.

Select an option

Save laozhu/8928982 to your computer and use it in GitHub Desktop.
解决Virtualbox和Virtualbox Additions版本不同步问题
# install ruby for windows
# http://rubyinstaller.org/
$ gem sources --remove https://rubygems.org/
$ gem sources -a http://ruby.taobao.org/
$ gem sources -l
*** CURRENT SOURCES ***
http://ruby.taobao.org
$ gem install i18n log4r micromachine
$ vagrant plugin install vagrant-vbguest
$ vagrant up --no-provision
$ vagrant ssh
$ sudo apt-get -y -q purge virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11
$ vagrant halt
$ vagrant up --provision
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment