<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Chris Irish &#124; Ruby, Rails, Javascript Developer &#124; Phoenix, AZ &#187; Installation</title>
	<atom:link href="http://www.christopherirish.com/category/installation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.christopherirish.com</link>
	<description>Ruby, Rails, Javascript, all things web development related</description>
	<lastBuildDate>Mon, 19 Jan 2026 07:43:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>How to install RVM on Ubuntu 10.04</title>
		<link>http://www.christopherirish.com/2010/08/25/how-to-install-rvm-on-ubuntu-10-04/</link>
		<comments>http://www.christopherirish.com/2010/08/25/how-to-install-rvm-on-ubuntu-10-04/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 08:21:09 +0000</pubDate>
		<dc:creator>Irish</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[RVM]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.christopherirish.com/?p=474</guid>
		<description><![CDATA[I&#8217;ve heard people describe frustrations they had in getting Rails 3 setup on Ubuntu 10.04 with Ruby 1.9.2. I&#8217;m going to outline the steps I&#8217;ve taken to do this. Let&#8217;s get started installing RVM. It should be noted that I created a fresh slice on my Rackspace Cloud account to create this tutorial. And I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I&#8217;ve heard people describe frustrations they had in getting Rails 3 setup on Ubuntu 10.04 with Ruby 1.9.2.  I&#8217;m going to outline the steps I&#8217;ve taken to do this.  Let&#8217;s get started installing RVM.</p>
<p>It should be noted that I created a fresh slice on my <a href="http://www.rackspacecloud.com/1655-0-3-13.html" target="_blank">Rackspace Cloud</a> account to create this tutorial.  And I&#8217;m assuming you&#8217;ve already setup SSH.</p>

<div class="wp-terminal">$ ssh root@173.XXX.XXX.XXX<br/>&lt;-- Output Snipped --&gt;<br/>root@173.XXX.XXX.XXX's password:<br/>&lt;-- Output Snipped --&gt;<br/></div>

<p>Alright, so lets confirm we don&#8217;t have ruby installed</p>

<div class="wp-terminal">$ which ruby<br/>$ <br/></div>

<p>Cool, nada.  Let&#8217;s grab the basic dependencies</p>

<div class="wp-terminal">$ sudo apt-get install curl git-core ruby<br/>Reading package lists... Done<br/>Building dependency tree<br/>&lt;-- Output Snipped --&gt;<br/></div>

<p>Now we&#8217;ll install RVM as per their instructions</p>
<p>http://rvm.beginrescueend.com/rvm/install/</p>

<div class="wp-terminal">$ bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )<br/><br/>&lt;-- Output Snipped --&gt;<br/><br/>RVM:   shell scripts which allow management of multiple ruby interpreters and environments.<br/>RTFM:  http://rvm.beginrescueend.com/<br/>HELP:  http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net)<br/><br/>* Installing rvm to /usr/local/rvm/<br/>Correct permissions for base binaries in /usr/local/bin...<br/>Copying manpages into place.<br/><br/>Notes for Linux ( DISTRIB_ID=Ubuntu<br/>DISTRIB_RELEASE=10.04<br/>DISTRIB_CODENAME=lucid<br/>DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS" )<br/><br/>&lt;-- Output Snipped --&gt;<br/><br/>*  For JRuby (if you wish to use it) you will need:<br/>$ aptitude install curl sun-java6-bin sun-java6-jre sun-java6-jdk<br/>*  For MRI &amp; ree (if you wish to use it) you will need (depending on what you are installing):<br/>$ aptitude install build-essential bison openssl libreadline5 libreadline-dev curl git-core zlib1g zlib1g-dev libssl-dev vim libsqlite3-0 libsqlite3-dev sqlite3 libreadline-dev libxml2-dev git-core subversion autoconf<br/>*  For IronRuby (if you wish to use it) you will need:<br/>$ aptitude install curl mono-2.0-devel<br/><br/>&lt;-- Output Snipped --&gt;<br/><br/>WARNING:  you have a 'return' statement in your .bashrc, likely this will cause untold havoc.<br/>This means that if you see '[ -z "$PS1" ] &amp;&amp; return' then you must change this line to:<br/>if [[ -n "$PS1" ]] ; then<br/>... original content that was below the &amp;&amp; return line ...<br/>fi # &lt;= be sure to close the if.<br/>#EOF .bashrc<br/>Even if you use zsh you should still adjust the .bashrc as above.<br/>If you have any questions about this please visit #rvm on irc.freenode.net.<br/><br/>Installation of RVM to /usr/local/rvm/ is complete.<br/></div>

<p>The last part in there about the .bashrc file is important!  Using your editor of choice, open the .bashrc file that resides in your user directory.</p>
<p>You need to replace the line that says</p>
<pre>[ -z "$PS1" ] &amp;&amp; return</pre>
<p>with</p>
<pre>if [[ -n "$PS1" ]]; then</pre>
<p>Now add this to the last line of the file</p>
<pre>if [[ -s $HOME/.rvm/scripts/rvm ]] ; then source $HOME/.rvm/scripts/rvm ; fi

fi</pre>
<p>And yes there needs to be that last fi as it closes the one we added earlier. Save this file with our changes.  Now we can check if RVM is setup correctly.</p>

<div class="wp-terminal">$ rvm notes<br/></div>

<p>If this doesn&#8217;t work you may have to source your .bashrc file to have it reloaded by the current terminal session</p>

<div class="wp-terminal">$ source ~/.bashrc<br/></div>

<p>After running `rvm notes` if it gives you installation notes about RVM then you&#8217;re good to continue, otherwise double check you edited your .bashrc file correctly.</p>
<p>In the notes output RVM tells you what packages you&#8217;re gonna need to install for various flavors of Ruby.  Since we&#8217;re going with 1.9.2 we want the packages it lists under the MRI &#038; ree section.  Let&#8217;s install those now.</p>

<div class="wp-terminal">$ sudo aptitude install build-essential bison openssl libreadline5 libreadline-dev curl git-core zlib1g zlib1g-dev libssl-dev vim libsqlite3-0 libsqlite3-dev sqlite3 libreadline-dev libxml2-dev git-core subversion autoconf<br/><br/>&lt;-- A really long bit of Output Snipped --&gt;<br/><br/></div>

<p>Now we can look at all the RVM known Ruby packages</p>

<div class="wp-terminal">$ rvm list known<br/># MRI Rubies<br/>(ruby-)1.8.6(-p399)<br/>(ruby-)1.8.6-head<br/>(ruby-)1.8.7(-p302)<br/>(ruby-)1.8.7-head<br/>(ruby-)1.9.1-p243<br/>(ruby-)1.9.1-p376<br/>(ruby-)1.9.1(-p429)<br/>(ruby-)1.9.1-head<br/>(ruby-)1.9.2-preview1<br/>(ruby-)1.9.2-preview3<br/>(ruby-)1.9.2-rc1<br/>(ruby-)1.9.2-rc2<br/>(ruby-)1.9.2(-p0)<br/>(ruby-)1.9.2-head<br/>ruby-head<br/><br/># JRuby<br/>jruby-1.2.0<br/>jruby-1.3.1<br/>jruby-1.4.0<br/>jruby-1.5.1<br/>jruby(-1.5.2)<br/>jruby-head<br/><br/>&lt;-- Output Snipped --&gt;<br/></div>

<p>Next we install the version we want and set it as the default.  You&#8217;re gonna see RVM install ruby-1.8.7-p302 first, be patient as it will need to also install rubygems-1.3.7, before it finally gets to that 1.9.2.</p>

<div class="wp-terminal">$ rvm install 1.9.2-head<br/>&lt;-- Output Snipped --&gt;<br/>info: Installing ruby-1.8.7-p302<br/>&lt;-- Output Snipped --&gt;<br/>info: Installing rubygems dedicated to ruby-1.8.7-p302...<br/>&lt;-- Output Snipped --&gt;<br/>info: Installing ruby-1.9.2-head<br/>&lt;-- Output Snipped --&gt;<br/>info: Updating rubygems for /usr/local/rvm/gems/ruby-1.9.2-head<br/></div>


<div class="wp-terminal">$ rvm --default 1.9.2-head<br/>$ ruby -v<br/>$ ruby 1.9.2p0 (2010-08-18 revision 29034) [x86_64-linux]<br/><br/></div>

<p>Good to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.christopherirish.com/2010/08/25/how-to-install-rvm-on-ubuntu-10-04/feed/</wfw:commentRss>
		<slash:comments>78</slash:comments>
		</item>
		<item>
		<title>How to install Sphinx on OS X</title>
		<link>http://www.christopherirish.com/2010/08/10/how-to-install-sphinx-on-os-x/</link>
		<comments>http://www.christopherirish.com/2010/08/10/how-to-install-sphinx-on-os-x/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 15:00:54 +0000</pubDate>
		<dc:creator>Irish</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Sphinx]]></category>

		<guid isPermaLink="false">http://www.christopherirish.com/?p=413</guid>
		<description><![CDATA[Getting a local development environment setup to run Sphinx on your Mac is pretty easy. You can boil it down to the following quick commands. $ wget http://www.sphinxsearch.com/downloads/sphinx-0.9.9.tar.gz$ tar xvzf sphinx-0.9.9.tar.gz$ cd sphinx-0.9.9$ ./configure$ make$ sudo make install This assumes you&#8217;re using a default MySQL installation. If however you&#8217;re like me and using MySQL installed [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Getting a local development environment setup to run Sphinx on your Mac is pretty easy.  You can boil it down to the following quick commands.</p>

<div class="wp-terminal">$ wget http://www.sphinxsearch.com/downloads/sphinx-0.9.9.tar.gz<br/>$ tar xvzf sphinx-0.9.9.tar.gz<br/>$ cd sphinx-0.9.9<br/>$ ./configure<br/>$ make<br/>$ sudo make install<br/></div>

<p>This assumes you&#8217;re using a default MySQL installation.  If however you&#8217;re like me and using MySQL installed from macports, you&#8217;ll need to pass the location of the MySQL configuration directories to Sphinx.  The configure command would then change like so:</p>

<div class="wp-terminal">$ ./configure<br/></div>


<div class="wp-terminal">$ ./configure --with-mysql-includes=/opt/local/include/mysql5/mysql/ --with-mysql-libs=/opt/local/lib/mysql5/mysql/<br/></div>

<p>On a side note, Sphinx 1.10-beta has also just recently been released (July 10&#8242;).  This release has real-time indexes support, a welcome addition I have been waiting for.  Definately check it out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.christopherirish.com/2010/08/10/how-to-install-sphinx-on-os-x/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to setup Textmate to use RVM</title>
		<link>http://www.christopherirish.com/2010/06/28/how-to-setup-textmate-to-use-rvm/</link>
		<comments>http://www.christopherirish.com/2010/06/28/how-to-setup-textmate-to-use-rvm/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 15:00:00 +0000</pubDate>
		<dc:creator>Irish</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[RVM]]></category>
		<category><![CDATA[TextMate]]></category>

		<guid isPermaLink="false">http://www.christopherirish.com/?p=367</guid>
		<description><![CDATA[Alright, so you&#8217;ve switched to using rvm but when you run cmd+r on a Ruby file in TextMate you&#8217;re still using your old system install of Ruby&#8230; Luckily it only takes a few easy steps to setup TextMate to use your rvm environment. 1) First make sure your install of TextMate if updated Textmate -> [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Alright, so you&#8217;ve switched to using rvm but when you run cmd+r on a Ruby file in TextMate you&#8217;re still using your old system install of Ruby&#8230;  Luckily it only takes a few easy steps to setup TextMate to use your rvm environment.</p>
<p>1) First make sure your install of TextMate if updated<br />
<strong>Textmate -> Preferences -> Software Update -> Check Now</strong></p>
<p>2) Next make sure all your bundles are up to date.  The creator of rvm, Waynee Seguin, provides a small bash script to automate this process. You can check it out at this GitHub <a href="http://gist.github.com/455521">gist</a> </p>
<p>3) Now get the rvm name of the Ruby version you want to use in TextMate.  In my case I&#8217;m going to use my currently selected version &#8220;ruby-1.8.7-tv1_8_7_174&#8243;</p>

<div class="wp-terminal">$ rvm list<br/>rvm rubies<br/><br/>&nbsp;&nbsp;&nbsp;jruby-1.5.1 [ i386-java ]<br/>&nbsp;&nbsp;&nbsp;ruby-1.8.7-tv1_8_7_173 [ i386 ]<br/>=> ruby-1.8.7-tv1_8_7_174 [ i386 ]<br/>&nbsp;&nbsp;&nbsp;ruby-1.9.1-tv1_9_1_378 [ i386 ]<br/>&nbsp;&nbsp;&nbsp;ruby-1.9.2-head [ i386 ]<br/><br/></div>

<p>4) Then run the rvm command to wrap this ruby version for TextMate</p>

<div class="wp-terminal">$ rvm wrapper ruby-1.8.7-tv1_8_7_174 textmate<br/></div>

<p>5) Now set a TM_RUBY variable in your TextMate Preferences<br />
<strong>Textmate -> Preferences -> Advanced -> Shell Variables</strong></p>
<p>To the wrapper command generated by rvm for you, in my case it was found here:</p>
<p>/Users/cirish/.rvm/bin/textmate_ruby</p>
<p>6) Since TextMate will use it&#8217;s own builder, by removing it, we can use TM_RUBY as described above.</p>

<div class="wp-terminal">$ cd /Applications/TextMate.app/Contents/SharedSupport/Support/lib/<br/>mv Builder.rb Builder.rb.backup<br/></div>

<p>7) Last but not least, quit TextMate and re-open it to load these settings.  You should now be all good <img src='http://www.christopherirish.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.christopherirish.com/2010/06/28/how-to-setup-textmate-to-use-rvm/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Ruby 1.8.7 openssl Bus Error</title>
		<link>http://www.christopherirish.com/2010/06/21/ruby-1-8-7-openssl-bus-error/</link>
		<comments>http://www.christopherirish.com/2010/06/21/ruby-1-8-7-openssl-bus-error/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 15:00:37 +0000</pubDate>
		<dc:creator>Irish</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[RVM]]></category>

		<guid isPermaLink="false">http://www.christopherirish.com/?p=333</guid>
		<description><![CDATA[Recently I switched from using my local ruby install to using RVM for managing all my ruby installations. RVM is pretty awesome and I highly recommend it. I went ahead and installed a few versions of ruby that I&#8217;d like to use including, ruby 1.8.7 (for work projects) and 1.9.2 (for playing with rails 3). [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Recently I switched from using my local ruby install to using RVM for managing all my ruby installations.  RVM is pretty awesome and I highly recommend it.  I went ahead and installed a few versions of ruby that I&#8217;d like to use including, ruby 1.8.7 (for work projects) and 1.9.2 (for playing with rails 3).</p>
<p>I came across an issue though with my 1.8.7 install when trying to run a rake db:migrate:reset command with my current work project.  It was along the lines of this:</p>

<div class="wp-terminal">$ rake db:migrate:reset<br/>(in /Users/cirish/Projects/so-ch)<br/>/Users/cirish/.rvm/rubies/ruby-1.8.7-tv1_8_7_173/lib/ruby/1.8/openssl/ssl.rb:31: [BUG] Bus Error<br/>ruby 1.8.7 (2009-06-08 patchlevel 173) [i686-darwin9.8.0]<br/><br/>Abort trap<br/>$ <br/></div>

<p>Well that&#8217;s no bueno.  It turns out that this is happening because, I have two openssl installations.  A system one and other that I installed through macports.  The reason the bus error is being thrown is that my eventmachine gem wasn&#8217;t compiled with the same openssl lib as my ruby 1.8.7 install.  We can confirm this by running the following:</p>

<div class="wp-terminal">$ ruby -rubygems -e" require 'openssl' "; echo $? 0<br/>0 0<br/><br/>$ ruby -rubygems -e" require 'eventmachine'; require 'openssl' "; echo $?<br/>/Users/cirish/.rvm/rubies/ruby-1.8.7-tv1_8_7_173/lib/ruby/1.8/openssl/ssl.rb:31: [BUG] Bus Error<br/>ruby 1.8.7 (2009-06-08 patchlevel 173) [i686-darwin9.8.0]<br/><br/>Abort trap<br/>134<br/><br/></div>

<p>At this point you could either recompile ruby and point it to the correct openssl lib or recompile eventmachine to use the system&#8217;s openssl.  Since this was a new ruby install anyways, I chose to just recompile ruby.</p>

<div class="wp-terminal">$ rvm install ruby-1.8.7-tv1_8_7_174 --configure --enable-shared=true,--with-openssl-dir=/opt/local --debug<br/></div>

<p>Now let&#8217;s check the install again</p>

<div class="wp-terminal">$ ruby -rubygems -e" require 'eventmachine'; require 'openssl' "; echo $?<br/>0<br/></div>

<p>Fixed <img src='http://www.christopherirish.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.christopherirish.com/2010/06/21/ruby-1-8-7-openssl-bus-error/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Install MySQL gem on Leopard with a macports MySQL</title>
		<link>http://www.christopherirish.com/2010/06/20/install-mysql-gem-for-leopard-using-macports-mysql/</link>
		<comments>http://www.christopherirish.com/2010/06/20/install-mysql-gem-for-leopard-using-macports-mysql/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 15:00:30 +0000</pubDate>
		<dc:creator>Irish</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[Gem]]></category>
		<category><![CDATA[MacPorts]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.christopherirish.com/?p=336</guid>
		<description><![CDATA[This is more of a reminder to myself than anything. To install the mysql gem on OS X Leopard and use a macports MySQL install. First remove any previously installed mysql gem $ gem uninstall mysql Then install, giving the correct Leopard archflag and macports mysql_config directory $ env ARCHFLAGS="-arch i386" gem install mysql -- [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>This is more of a reminder to myself than anything.  To install the mysql gem on OS X Leopard and use a macports MySQL install.</p>
<p>First remove any previously installed mysql gem</p>

<div class="wp-terminal">$ gem uninstall mysql<br/></div>

<p>Then install, giving the correct Leopard archflag and macports mysql_config directory</p>

<div class="wp-terminal">$ env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/opt/local/lib/mysql5/bin/mysql_config<br/></div>

]]></content:encoded>
			<wfw:commentRss>http://www.christopherirish.com/2010/06/20/install-mysql-gem-for-leopard-using-macports-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tips for Installing ImageMagick &amp; RMagick gem</title>
		<link>http://www.christopherirish.com/2010/05/12/tips-for-installing-imagemagick-rmagick-gem/</link>
		<comments>http://www.christopherirish.com/2010/05/12/tips-for-installing-imagemagick-rmagick-gem/#comments</comments>
		<pubDate>Wed, 12 May 2010 07:26:23 +0000</pubDate>
		<dc:creator>Irish</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[ImageMagick]]></category>
		<category><![CDATA[MacPorts]]></category>
		<category><![CDATA[RMagick]]></category>

		<guid isPermaLink="false">http://www.christopherirish.com/?p=213</guid>
		<description><![CDATA[Installing RMagick on OS X has at times been really smooth for me, and other times, a royal pain in the ass. The issues usually come from having to get ImageMagick installed, but I&#8217;ve also had problems with the RMagick gem not being able to build the native extensions. I&#8217;ve successfully installed ImageMagick by using [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Installing RMagick on OS X has at times been really smooth for me, and other times, a royal pain in the ass.  The issues usually come from having to get ImageMagick installed, but I&#8217;ve also had problems with the RMagick gem not being able to build the native extensions.  I&#8217;ve successfully installed ImageMagick by using MacPorts and by compiling the sources by hand.  Hopefully, some of these tips will help you with your installation if a problem occurs.</p>
<h3>Tip #1: Keep MacPorts and your installed packages up to date!</h3>
<p>MacPorts allows for easy installation of packages.  But beware, MacPort&#8217;s packages are a bit of a dependency nightmare at times.  If your installed packages are old and you use them to compile new packages, things can get messed up in the linking/compiling process, or simply just be completely incompatible. Be sure to run these commands often and always before you trying installing/upgrading anything.</p>

<div class="wp-terminal">$ sudo port selfupdate<br/>$ sudo port upgrade outdated<br/></div>

<h3>Tip #2: MacPorts isn&#8217;t your only option</h3>
<p>There are other&#8217;s out there that have felt the install pain.  I came across this installer script that&#8217;s well maintained and as of this writing has been updated to work with ImageMagick-6.6.1-5</p>
<dd><a href="http://github.com/maddox/magick-installer/blob/master/magick-installer.sh">http://github.com/maddox/magick-installer/blob/master/magick-installer.sh</a></dd>
<p>Simply grab it with Git</p>

<div class="wp-terminal">$ git clone http://github.com/maddox/magick-installer.git<br/>$ cd magick-installer<br/>$ ./magick-installer.sh<br/></div>

<p>I&#8217;ve also heard good things about the OS X homebrew package management system, but have no personal experience in using it.  Check it out here, and give it a go if it sounds up your alley.</p>
<p><a href="http://mxcl.github.com/homebrew/">http://mxcl.github.com/homebrew/</a></p>
<h3>Tip #3: Ask for help</h3>
<p>Check the Installation FAQS<br />
They have solutions for some of the more common issues that tend to happen<br />
<a href="http://rmagick.rubyforge.org/install-faq.html#loaderror">http://rmagick.rubyforge.org/install-faq.html#loaderror</a></p>
<p>Search Online<br />
Take any error messages you receive and try googling for answers to them.  You can usually find blog posts from other people that have run into the same issues as you.  Hit up the mailing lists or you can even send an email to the project maintainers at rmagick@rubyforge.org</p>
<h3>Tip #4: Use the verbose flag when building the gem</h3>
<p>This will show you what&#8217;s going on as far as the gem building making external requests for libs, what&#8217;s building/being written, and that can give you more details than just what the simple stacktrace will show you, when things go wrong.</p>

<div class="wp-terminal">$ sudo gem install rmagick -V<br/></div>

<h3>Tip #5: Be sure to test it after successful install</h3>
<p>As noted on the RMagick site, the &#8220;Successfully installed&#8221; message does not mean that RMagick was successfully installed. The RMagick installation can encounter error conditions that gem can&#8217;t detect. The following irb session is a better indicator of a successful install.</p>

<div class="wp-terminal">$ irb -rubygems -r RMagick<br/>irb(main):001:0> puts Magick::Long_version<br/>This is RMagick 2.13.1  Copyright (C) 2009 by Timothy P. Hunter<br/>Built with ImageMagick 6.6.1-5 2010-05-11 Q8 http://www.imagemagick.org<br/>Built for ruby 1.8.7<br/>Web page: http://rmagick.rubyforge.org<br/>Email: rmagick@rubyforge.org<br/>=> nil<br/><br/></div>

]]></content:encoded>
			<wfw:commentRss>http://www.christopherirish.com/2010/05/12/tips-for-installing-imagemagick-rmagick-gem/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
