Installing Webrat on Cygwin June 11, 2009
Posted by vyolian in ruby on rails.trackback
Webrat “lets you quickly write expressive and robust acceptance tests for a Ruby web application.”
Installing Nokogiri
Users of Debian Linux (e.g. Ubuntu) need to run:
sudo apt-get install libxslt1-dev libxml2-dev.
Otherwise the Nokogiri gem, which Webrat depends on, won’t install properly.
On their page, it warns you that Webrat relies on Nokogiri and you’ll have to manually install that first. However, for Cygwin, you really actually need libxslt-devel and libxml2-devel.
Always check the Cygwin Package List first when you get these kinds of errors — its saved me multiple times. Also, refer to my blog on apt-cyg for easy package installing.
thanks for this.
Thanks, you saved me from a headache.