Top "Nokogiri" questions

An HTML, XML, SAX and Reader parser for Ruby with the ability to search documents via XPath or CSS3 selectors… and much more

extract links (URLs), with nokogiri in ruby, from a href html tags?

I want to extract from a webpage all URLs how can I do that with nokogiri? example: <div class="…

ruby parsing nokogiri
nokogiri will not install - ERROR: Failed to build gem native extension

On a ubuntu 12.04 I get the below. sudo apt-get install libxml2 libxml2-dev libxslt libxslt-dev sudo gem install nokogiri Building …

ruby gem nokogiri
Mac user and getting WARNING: Nokogiri was built against LibXML version 2.7.8, but has dynamically loaded 2.7.3

I have done all kinds of research and tried many different things. I know this question has been answered many …

ruby macos nokogiri libxml2
Nokogiri error when running bundle install

Trying to get a cloned Rails app running. When running bundle install I get this error: Using mini_portile (0.5.0) Installing …

ruby-on-rails ruby rubygems nokogiri rbenv
How to select nodes by matching text

If I have a bunch of elements like: <p>A paragraph <ul><li>Item 1&…

ruby nokogiri
Installing Nokogiri on OSX 10.10 Yosemite

I recently upgrade to the 10.10 Yosemite beta, but I'm having trouble getting Nokogiri installed. I'm using RVM and Ruby 1.9.3. I've …

ruby gem bundler nokogiri homebrew
How to install Nokogiri Ruby gem with mkmf.log saying libiconv not found?

I'm installing the Ruby Nokogiri gem and finding the error below. How to diagnose this and solve it? # gem install …

ruby gem installation nokogiri
How do I remove a node with Nokogiri?

How can I remove <img> tags using Nokogiri? I have the following code but it wont work: # str = …

ruby nokogiri
Nokogiri 'Failed to build gem native extension' when I run bundle install

I'm running bundle install and I'm getting this error: Building nokogiri using system libraries. Gem::Ext::BuildError: ERROR: Failed to …

ruby-on-rails rubygems bundle nokogiri
Error installing Nokogiri on bundle install but already installed

I'm having issues with bundling my Gemfile. I have Nokogiri installed already yet when I run bundle install it fails …

ruby-on-rails ruby nokogiri bundler