Install capybara-webkit gem on Ubuntu

The apt package you need to install to use the capybara-webkit rubygem on ubuntu (tested on 10.04 and 11.10) is libqt4-dev. That is, to gem install capybara-webkit, you need to run sudo apt-get install libqt4-dev.

Installing paperclip gem for rails is important to handle file field and image files upload.

Paperclip gem is dependency of imagemagick app.

To install imagemagick in ubuntu 12.x version

sudo apt-get install imagemagick libmagickwand-dev

If you are problem with installing gem install rmagick

then install
sudo apt-get install libdjvulibre-dev libjpeg-dev libtiff4-dev libwmf-dev libmagickcore-dev libmagickwand-dev libmagick++-dev

now install again gem install rmagick

you got it.
thats all..

About these ads

One comment on “Install capybara-webkit gem on Ubuntu

  1. Pingback: Installing Redmine project management software | bladeronline

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s