Skip to content

Instantly share code, notes, and snippets.

@kwilczynski
Last active August 29, 2015 14:04
Show Gist options
  • Select an option

  • Save kwilczynski/e9783c7d4b4a2da5154c to your computer and use it in GitHub Desktop.

Select an option

Save kwilczynski/e9783c7d4b4a2da5154c to your computer and use it in GitHub Desktop.
vagrant patch
For 1.6.3:
```
s.add_dependency(%q<nokogiri>, ["= 1.6.2.1"])
```
Plus, add
```
ENV['NOKOGIRI_USE_SYSTEM_LIBRARIES'] = '1'
```
On top of the file.
--- vagrant-1.6.2.gemspec.orig 2014-08-04 21:54:53.464460809 +0100
+++ vagrant-1.6.2.gemspec 2014-08-04 21:53:41.527360146 +0100
@@ -74,4 +74,7 @@
s.add_dependency(%q<mocha>, [">= 0"])
s.add_dependency(%q<rspec>, ["~> 2.14.0"])
end
+
+ # A workaround as per: https://github.com/mitchellh/vagrant/issues/3769
+ s.add_dependency(%q<nokogiri>, ["< 1.6.2"])
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment