Skip to content

Instantly share code, notes, and snippets.

@zainengineer
Created February 17, 2017 06:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zainengineer/c3f655df3d879da0687c10f6685c9af7 to your computer and use it in GitHub Desktop.
Save zainengineer/c3f655df3d879da0687c10f6685c9af7 to your computer and use it in GitHub Desktop.
vagrant rsync-auto ruby issues

issue is probably fixed but not in package yet https://github.com/mitchellh/vagrant-installers/pull/100/files

cd /opt/vagrant/embedded sudo chown zain:zain -R (avoids a lot of sudos)

hashicorp/vagrant#6721 cd /opt/vagrant/embedded bin/gem uninstall ffi check the version of ffi install ls /opt/vagrant/embedded/gems/extensions/x86_64-linux/2.2.0/ then install that version bin/gem install ffi -v 1.9.14 --clear-sources --source http://rubygems.org/ then copy file cp lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0/ffi-1.9.14/ffi_c.so /opt/vagrant/embedded/gems/extensions/x86_64-linux/2.2.0/ffi-1.9.14/ffi_c.so (both version should be same)

additional (might not not needed) http://guides.rubygems.org/ssl-certificate-update/#installing-using-update-packages might need sudo

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