<?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>humandoing software &#187; rmagick</title>
	<atom:link href="http://blog.humandoing.net/tag/rmagick/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.humandoing.net</link>
	<description>better software for everyone</description>
	<lastBuildDate>Fri, 06 Jan 2012 16:17:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Mac OS X, MacPorts, ImageMagick and RMagick</title>
		<link>http://blog.humandoing.net/2007/09/05/mac-os-x-macports-imagemagick-and-rmagick/</link>
		<comments>http://blog.humandoing.net/2007/09/05/mac-os-x-macports-imagemagick-and-rmagick/#comments</comments>
		<pubDate>Thu, 06 Sep 2007 06:05:00 +0000</pubDate>
		<dc:creator>Daniel Wintschel</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macosx]]></category>
		<category><![CDATA[rmagick]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://humandoing.net/past/2007/9/6/mac_os_x_macports_imagemagick/</guid>
		<description><![CDATA[In the process of setting up my new dev machine, I decided I was going to try using MacPorts to install all of the dev-type-software instead of installing into /usr/local. James Duncan Davidson has a great overview article (that needs no further explaining from myself), titled Sandboxing Rails With MacPorts. Another similar article can be [...]]]></description>
			<content:encoded><![CDATA[<p>In the process of setting up my new dev machine, I decided I was going to try using MacPorts to install all of the dev-type-software instead of installing into <code>/usr/local</code>.</p>
<p>James Duncan Davidson has a great overview article (that needs no further explaining from myself), titled <a href="http://duncandavidson.com/archives/164">Sandboxing Rails With MacPorts</a>. Another similar article can be found <a href="http://paulsturgess.co.uk/articles/show/46-using-macportsdarwinports-to-install-ruby-on-rails-mysql-subversion-capistrano-and-mongrel-on-mac-os-x">here</a>.</p>
<p>My problem is that I work on a lot of projects that use ImageMagick / RMagick, and that&#8217;s not discussed here.</p>
<p>No worries, I&#8217;ll install &#8216;em and give it a go:</p>
<pre><code>sudo port intall ImageMagick<br/>sudo gem install rmagick</code></pre>
<p><span class="caps">CRAP</span>! I don&#8217;t know what happens for you, but ImageMagick installs perfectly for me, and then RMagick craps out and dies something like this:</p>
<pre><code>/opt/local/lib/ruby/gems/1.8/gems/rmagick-1.15.9/./lib/rvg/misc.rb:321:in `get_type_metrics': <br/>unable to read font `(null)' (Magick::ImageMagickError)<br/> from /opt/local/lib/ruby/gems/1.8/gems/rmagick-1.15.9/./lib/rvg/misc.rb:321:in `render'<br/> from /opt/local/lib/ruby/gems/1.8/gems/rmagick-1.15.9/./lib/rvg/misc.rb:696:in `text'</code></pre>
<p>Now, for the solution I am going to give all credit to <a href="http://mentalized.net/about/">Jakob Skjerning</a>, because I found the solution on <a href="http://mentalized.net/journal/2007/08/05/os_x_macports_imagemagick_and_rmagick/">his site</a> after doing some Googling.</p>
<p>Do this instead:</p>
<pre><code>sudo port install ImageMagick<br/>sudo port install rb-rmagick</code></pre>
<p>Done. Works. Thank goodness.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.humandoing.net/2007/09/05/mac-os-x-macports-imagemagick-and-rmagick/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

