Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Common problems

troelskn edited this page Sep 13, 2010 · 1 revision

Missing drivers

By default, Handsoap uses curb and Nokogiri. If those aren’t installed, you’ll get errors like Gem::LoadError: Could not find RubyGem nokogiri (>= 0) or MissingSourceFile: no such file to load -- curb. You can either install the missing dependencies, or you can try to use different drivers. The fail-safe is net/http and rexml, since these are part of Ruby’s standard library. They are also quite slow, so they aren’t recommended for production sites. You can load drivers with:

Handsoap.http_driver = :net_http
Handsoap.xml_query_driver = :rexml
Clone this wiki locally