Assuming you have homebrew installed and you use bundler, you can fix this issue by doing the following:
gem uninstall nokogiri libxml-ruby
brew update
brew uninstall libxml2
brew uninstall libxslt
brew install libxml2 --with-xml2-config| /** | |
| Sample Propane caveatPatchor.js file based on tmm1's avatar hack. | |
| You'll need at least version 1.1.1 to experiment with this: | |
| http://propaneapp.com/appcast/Propane.1.1.1.zip | |
| Once I'm sure exposing this hack-injection point doesn't cause problems | |
| I'll do an official auto-updating version. | |
| As of version 1.1.1, Propane will load and execute the contents of |
| if [ -f "${rvm_path}/scripts/rvm" ]; then | |
| source "${rvm_path}/scripts/rvm" | |
| if [ -f ".rvmrc" ]; then | |
| source ".rvmrc" | |
| elif [ -f ".ruby-version" ] && [ -f ".ruby-gemset" ]; then | |
| rvm use `cat .ruby-version`@`cat .ruby-gemset` | |
| elif [ -f ".ruby-version" ]; then | |
| rvm use `cat .ruby-version` |
| provide "ipaddress" | |
| require_plugin "#{os}::network" | |
| require_plugin "#{os}::virtualization" | |
| if virtualization["system"] == "openvz" | |
| network["interfaces"]["venet0:0"]["addresses"].each do |ip, params| | |
| if params["family"] == "inet" | |
| ipaddress ip | |
| end | |
| end |
| % knife cookbook site share rvm Other -o '/var/folders/h5/dynhzgcj3v76k_yk8lmnbg3r0000gn/T/d20140331-72712-f91u32' -V | |
| INFO: Validating ruby files | |
| INFO: Validating templates | |
| INFO: Syntax OK | |
| Generating metadata for rvm from /var/folders/h5/dynhzgcj3v76k_yk8lmnbg3r0000gn/T/chef-rvm-build20140331-72941-1krbyxg/rvm/metadata.rb | |
| Making tarball rvm.tgz | |
| ERROR: Error uploading cookbook rvm to the Opscode Cookbook Site: wrong number of arguments (2 for 1). Set log level to debug (-l debug) for more information. |
| # Description: | |
| # Need a little cuteness in your life? YES YOU DO! | |
| # | |
| # Dependencies: | |
| # None | |
| # | |
| # Configuration: | |
| # None | |
| # | |
| # Commands: |
| #!/usr/bin/env bats | |
| @test "has kept Chef version at 11.10.0" { | |
| /opt/chef/bin/chef-client --version | grep '^Chef: 11.10.0$' | |
| # This also does not work | |
| # sudo -E -u $SUDO_USER bash -l -c "chef-client --version | grep '^Chef: 11.10.0$'" | |
| } |
| # The problem: I've got to swap the apt mirror out (idempotently) and update apt | |
| # BEFORE build-essential triggers at compile time. Hence the run_action trick | |
| # to force the resource to trigger at compile time, not run time. | |
| # | |
| # Why? Old Ubuntu release apt mirrors get retired to old-releases.ubuntu.com | |
| if node['platform_version'].to_f == 13.04 | |
| execute "swap in old release mirror" do | |
| user 'root' | |
| command "/bin/sed -i -e 's#http:\/\/.*.ubuntu.com#http:\/\/old-releases.ubuntu.com#g' /etc/apt/sources.list && apt-get update" |
| martinisoft@r2d2 chef-rvm [master] % brew {1} | |
| /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/dependency_resolver.rb:490:in `resolve_for': unable to find any gem matching dependency 'foodcritic (~> 3.0.3)' (Gem::UnsatisfiableDepedencyError) | |
| from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/dependency_resolver.rb:286:in `resolve' | |
| from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/request_set.rb:39:in `resolve' | |
| from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/request_set.rb:47:in `resolve_current' | |
| from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems.rb:244:in `detect_gemdeps' | |
| from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems.rb:1109:in `<top (required)>' | |
| from <internal:gem_prelude>:1:in `require' | |
| from <i |
I hereby claim:
To claim this, I am signing this object: