<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Ruby Enterprise Edition 1.8.7 source RPM for CentOS5 / RHEL5</title>
	<atom:link href="http://www.cherpec.com/2009/10/ruby-enterprise-edition-1-8-7-source-rpm-for-centos5-rhel5/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cherpec.com/2009/10/ruby-enterprise-edition-1-8-7-source-rpm-for-centos5-rhel5/</link>
	<description>linux + ruby on rails = love</description>
	<lastBuildDate>Wed, 01 Sep 2010 07:55:52 +0300</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Alexander Fairley</title>
		<link>http://www.cherpec.com/2009/10/ruby-enterprise-edition-1-8-7-source-rpm-for-centos5-rhel5/comment-page-1/#comment-290</link>
		<dc:creator>Alexander Fairley</dc:creator>
		<pubDate>Tue, 17 Aug 2010 15:59:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.cherpec.com/?p=504#comment-290</guid>
		<description>Hey,

I&#039;m looking into building this with the latest tarball of REE source.  When I was doing so I hit

installer.rb:428:in `chdir&#039;: No such file or directory - /var/tmp/ruby-enterprise-1.8.7-2010.02-root-afairley/usr/local/lib/ruby/gems/1.8/gems (Errno::ENOENT)
    from installer.rb:428:in `install_useful_libraries&#039;
    from installer.rb:66:in `start&#039;
    from installer.rb:696
error: Bad exit status from /var/tmp/rpm-tmp.59788 (%build)

It looks to me like the problem is a missing if guard

+if @install_useful_gems
                Dir.chdir(&quot;#{@destdir}#{@prefix}/lib/ruby/gems/1.8/gems&quot;) do
                        if !Dir[&quot;sqlite3-ruby*&quot;].empty?
                                # The sqlite3-ruby gem installs files with wrong
                                # permissions. We fix this.
                                sh &quot;chmod -R g+r,o+r,o-w sqlite3-ruby*&quot;
                        end
                end
+end</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>I&#8217;m looking into building this with the latest tarball of REE source.  When I was doing so I hit</p>
<p>installer.rb:428:in `chdir&#8217;: No such file or directory &#8211; /var/tmp/ruby-enterprise-1.8.7-2010.02-root-afairley/usr/local/lib/ruby/gems/1.8/gems (Errno::ENOENT)<br />
    from installer.rb:428:in `install_useful_libraries&#8217;<br />
    from installer.rb:66:in `start&#8217;<br />
    from installer.rb:696<br />
error: Bad exit status from /var/tmp/rpm-tmp.59788 (%build)</p>
<p>It looks to me like the problem is a missing if guard</p>
<p>+if @install_useful_gems<br />
                Dir.chdir(&#8221;#{@destdir}#{@prefix}/lib/ruby/gems/1.8/gems&#8221;) do<br />
                        if !Dir["sqlite3-ruby*"].empty?<br />
                                # The sqlite3-ruby gem installs files with wrong<br />
                                # permissions. We fix this.<br />
                                sh &#8220;chmod -R g+r,o+r,o-w sqlite3-ruby*&#8221;<br />
                        end<br />
                end<br />
+end</p>
]]></content:encoded>
	</item>
</channel>
</rss>
