-
-
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 |
I am using a mac, and I fixed this by installing libxml (2?) via homebrew as the libxml that ships with at least one version of 10.6 is broken. This is how I did that:
brew update
brew install libxml2
brew link libxml2
and then I uninstalled al versions of nokogiri and then re ran my bundle install.
How did you uninstall nokogiri?
Yup that worked, thanks!
I just got mine to work. Thanks for the help.
removed most of the gems from my gemfile
bundle install
added them back
bundle install
(not sure if I needed to do that, but just wanted to be sure)
gem uninstall nokogiri
gem install nokogiri
Thanks again.
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
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.
there is a similar observation here: https://gist.github.com/1226596
Hi. I'm getting this error too and I can't find much info about it. Did you happen to find a solution?