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
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 |
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` |
/** | |
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 |
#!/usr/bin/env bash | |
function is_process_alive { | |
set +e | |
if [ -n $1 ] && kill -0 $1 >/dev/null 2>&1; then | |
echo "yes" | |
fi | |
set -e | |
} |
$ rake | |
Parser.java:184:in `<init>': java.lang.NullPointerException: uri | |
from Parser.java:69:in `pushMachine' | |
from Parser.java:56:in `parse' | |
from NativeMethodAccessorImpl.java:-2:in `invoke0' | |
from NativeMethodAccessorImpl.java:39:in `invoke' | |
from DelegatingMethodAccessorImpl.java:25:in `invoke' | |
from Method.java:597:in `invoke' | |
from JavaMethod.java:485:in `invokeDirectWithExceptionHandling' | |
from JavaMethod.java:340:in `invokeDirect' |
$ rake clean spec cucumber --trace | |
** Invoke clean (first_time) | |
** Execute clean | |
rm -r pkg | |
rm -r tmp | |
rm -r ext | |
rm -r java/target | |
rm -r doc | |
rm -r /Users/martinisoft/projects/gherkin/tasks/../ragel/i18n/ar.java.rl | |
rm -r /Users/martinisoft/projects/gherkin/tasks/../ragel/i18n/lexer_common.ar.rl |
[ | |
[ | |
"interfaces", | |
{ | |
"lo": { | |
"mtu": "16436", | |
"flags": [ | |
"LOOPBACK", | |
"UP", | |
"LOWER_UP" |
# Play music. At your office. Like a boss. | |
# | |
# NOTE: | |
# This uses the new version of play (the next branch currently) | |
# https://github.com/holman/play/tree/next | |
# | |
# Make sure you set up your HUBOT_PLAY_URL environment variable with the URL to | |
# your company's play. | |
# | |
# Controls |
Homebrew has blacklisted libiconv so the majority of your help via google will not work now.
Here's a way I figured out how to get nokogiri to compile if you made the mistake of upgrading your XCode version
brew update
brew install libxml2
brew install libxslt