Closed jmpews closed 7 years ago
$ brew link --force libxml2
Linking /usr/local/Cellar/libxml2/2.9.4_2... 17 symlinks created
If you need to have this software first in your PATH instead consider running:
echo 'export PATH="/usr/local/opt/libxml2/bin:$PATH"' >> ~/.zshrc
spiderzz at localhost in /tmp/idb (master) (normal)
$ echo 'export PATH="/usr/local/opt/libxml2/bin:$PATH"' >> ~/.zshrc
spiderzz at localhost in /tmp/idb (master) (normal)
$ bundle install
Fetching gem metadata from https://rubygems.org/........
Fetching version metadata from https://rubygems.org/.
Resolving dependencies...
Using rake 10.4.2
Using public_suffix 2.0.5
Using awesome_print 1.7.0 (was 1.6.1)
Using bundler 1.14.6
Using byebug 9.0.6
Using coderay 1.1.0
Using ffi 1.9.18 (was 1.9.10)
Using git 1.3.0 (was 1.2.9.1)
Using tilt 2.0.7 (was 2.0.1)
Using hexdump 0.2.3
Using htmlentities 4.3.4
Using json 2.1.0 (was 1.8.3)
Using log4r 1.1.10
Using net-ssh 4.1.0 (was 3.0.1)
Using mini_portile2 2.1.0 (was 2.0.0)
Installing libxml-ruby 3.0.0 (was 2.8.0) with native extensions
Using qtbindings 4.8.6.3 (was 4.8.6.2)
Using sqlite3 1.3.13 (was 1.3.11)
Using method_source 0.8.2
Using slop 3.6.0
Using addressable 2.5.1 (was 2.4.0)
Using haml 4.0.7
Using net-sftp 2.1.2
Using nokogiri 1.7.1 (was 1.6.7.2)
Installing libxml4r 0.2.6
Installing pry 0.10.4
Using launchy 2.4.3
Installing plist4r 1.2.2 with native extensions
Installing pry-byebug 3.4.0
Using idb 2.9.1 (was 2.9.0) from source at `.`
Bundle complete! 5 Gemfile dependencies, 30 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
spiderzz at localhost in /tmp/idb (master●) (normal)
For future reference, this should be fixable by using the system libraries as follows:
xcode-select --install
bundle config build.nokogiri --use-system-libraries
before installing idb / doing bundle install
.
Alternatively, the homebrew route also works.
Further details on troubleshooting (the very frustrating nokogiri installation) is available at http://www.nokogiri.org/tutorials/installing_nokogiri.html