How-To build ruby-shout gem in Cygwin 1.7

I have been working on a ruby on rails app where I needed to use the ruby-shout gem. Since I am trying to do my development on a Windows 7 computer, I found the easiest way to get everything working correctly was to install ruby and rubygems in cygwin 1.7. When I tried to install the ruby-shout gem I ran into a issue where it would not compile because libshout and shout.h were not found.

To get the gem installed I did the following:

$ cd /
$ curl -O http://www.artfiles.org/cygwin.org/pub/cygwinports/release-2/libshout/libshout-devel/libshout-devel-2.2.2-10.tar.bz2
$ bzip2 -cd libshout-devel-2.2.2-10.tar.bz2 | tar tvf -

This will extract the necessary files for you, and that is it. Now you can do a “gem install ruby-shout” and it will build and install correctly.

Posted on Mar 05, 2010 by Mike Jennings in Open Source | 0 Comments | Permalink



Post a Comment:
Comments are closed for this entry.