Skip to content

Instantly share code, notes, and snippets.

@cherring
Created January 2, 2011 13:11
Show Gist options
  • Save cherring/762517 to your computer and use it in GitHub Desktop.
Save cherring/762517 to your computer and use it in GitHub Desktop.
⚡ rake spec
rake aborted!
dlsym(0x1027f1510, Init_libxml_ruby): symbol not found - /Users/chris/.rvm/gems/ruby-1.8.7-p330/gems/libxml-ruby-1.1.4/lib/libxml_ruby.bundle
@TildeWill
Copy link

Here's what worked for me:
sudo port uninstall libxml2 #(may need to clear multiple versions)
sudo port install libxml2
rvm gemset clear
bundle

bliss

@cherring
Copy link
Author

Yes that will work, but I really do recommend using homebrew over MacPorts. MacPorts can become hell to maintain, especially as it reinstalls dependencies over and over again, Homebrew keeps it much simpler.

@mulderp
Copy link

mulderp commented Oct 10, 2011

there is a similar observation here: https://gist.github.com/1226596

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