<?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"
	>
<channel>
	<title>Comments on: [ANN] iphone4r &#8212; A Rails Plugin</title>
	<atom:link href="http://www.simpltry.com/2008/02/10/ann-iphone4r-a-rails-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.simpltry.com/2008/02/10/ann-iphone4r-a-rails-plugin/</link>
	<description>Simpltry is a weblog focusing on, but not limited to, web development. Both client-side and server-side topics are covered, with a focus on Rails, Javascript and CSS.</description>
	<pubDate>Wed, 07 Jan 2009 14:14:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Nicholas Schlueter</title>
		<link>http://www.simpltry.com/2008/02/10/ann-iphone4r-a-rails-plugin/#comment-7207</link>
		<dc:creator>Nicholas Schlueter</dc:creator>
		<pubDate>Fri, 14 Mar 2008 13:34:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.simpltry.com/2008/02/10/ann-iphone4r-a-rails-plugin/#comment-7207</guid>
		<description>&lt;p&gt;Yeah, I should really start branching my side projects, I never intended to included iUi in this version, until I could offer something on top of iUi in the way of rails helpers.&lt;/p&gt;

&lt;p&gt;Any way good catch on the svn repo, I have corrected it.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Yeah, I should really start branching my side projects, I never intended to included iUi in this version, until I could offer something on top of iUi in the way of rails helpers.</p>
<p>Any way good catch on the svn repo, I have corrected it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon Zylstra</title>
		<link>http://www.simpltry.com/2008/02/10/ann-iphone4r-a-rails-plugin/#comment-7094</link>
		<dc:creator>Brandon Zylstra</dc:creator>
		<pubDate>Wed, 12 Mar 2008 09:26:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.simpltry.com/2008/02/10/ann-iphone4r-a-rails-plugin/#comment-7094</guid>
		<description>&lt;p&gt;P.S.  Sorry about the &#60;pre&#62; tags.  I didn't realize those would be escaped and presented as text... oh my!: looks like Textile had a field day messing up the code... okay, I'll post it on my blog instead...&lt;/p&gt;

&lt;p&gt;You can copy it from:
http://brandonzylstra.com/2008/03/12/fixing-iphone4r/&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>P.S.  Sorry about the &lt;pre&gt; tags.  I didn&#8217;t realize those would be escaped and presented as text&#8230; oh my!: looks like Textile had a field day messing up the code&#8230; okay, I&#8217;ll post it on my blog instead&#8230;</p>
<p>You can copy it from:<br />
<a href="http://brandonzylstra.com/2008/03/12/fixing-iphone4r/" rel="nofollow">http://brandonzylstra.com/2008/03/12/fixing-iphone4r/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon Zylstra</title>
		<link>http://www.simpltry.com/2008/02/10/ann-iphone4r-a-rails-plugin/#comment-7093</link>
		<dc:creator>Brandon Zylstra</dc:creator>
		<pubDate>Wed, 12 Mar 2008 09:13:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.simpltry.com/2008/02/10/ann-iphone4r-a-rails-plugin/#comment-7093</guid>
		<description>&lt;p&gt;Hi again.  It appears that there's an error in install.rb .  The iui directory is not getting copied over from the plugin to /public when the plugin is installed.  I  added one line to install.rb and it is now working.  So install.rb (in its entirety) should look like this:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;require &#039;fileutils&#039;&lt;br /&gt;
RAILS_ROOT = File.dirname(__FILE__) + &#34;/../../../&#34; unless defined? RAILS_ROOT&lt;br /&gt;
#Install hook code here&lt;br /&gt;
&#160;&lt;br /&gt;
def copy_files(source_path, destination_path, directory)&lt;br /&gt;
&#160;&#160;source, destination = File.join(directory, source_path), File.join(RAILS_ROOT, destination_path)&lt;br /&gt;
&#160;&#160;FileUtils.mkdir(destination) unless File.exist?(destination)&lt;br /&gt;
&#160;&#160;FileUtils.cp(Dir.glob(source+&#039;/*&#039;), destination)&lt;br /&gt;
end&lt;br /&gt;
directory = File.join(File.dirname(__FILE__), &#34;copy_on_install&#34;)&lt;br /&gt;
copy_files(&#34;/script&#34;, &#34;/script&#34;, directory)&lt;br /&gt;
FileUtils.chmod 0755, File.join(RAILS_ROOT, &#34;script&#34;, &#34;ibug&#34;), :verbose =&#62; true&lt;br /&gt;
copy_files(&#34;/public/ibug&#34;, &#34;/public/ibug&#34;, directory)&lt;br /&gt;
copy_files(&#34;/public/iui&#34;, &#34;/public/iui&#34;, directory)&lt;/code&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi again.  It appears that there&#8217;s an error in install.rb .  The iui directory is not getting copied over from the plugin to /public when the plugin is installed.  I  added one line to install.rb and it is now working.  So install.rb (in its entirety) should look like this:</p>
<p><code>require &#039;fileutils&#039;<br />
RAILS_ROOT = File.dirname(__FILE__) + &quot;/../../../&quot; unless defined? RAILS_ROOT<br />
#Install hook code here<br />
&nbsp;<br />
def copy_files(source_path, destination_path, directory)<br />
&nbsp;&nbsp;source, destination = File.join(directory, source_path), File.join(RAILS_ROOT, destination_path)<br />
&nbsp;&nbsp;FileUtils.mkdir(destination) unless File.exist?(destination)<br />
&nbsp;&nbsp;FileUtils.cp(Dir.glob(source+&#039;/*&#039;), destination)<br />
end<br />
directory = File.join(File.dirname(__FILE__), &quot;copy_on_install&quot;)<br />
copy_files(&quot;/script&quot;, &quot;/script&quot;, directory)<br />
FileUtils.chmod 0755, File.join(RAILS_ROOT, &quot;script&quot;, &quot;ibug&quot;), :verbose =&gt; true<br />
copy_files(&quot;/public/ibug&quot;, &quot;/public/ibug&quot;, directory)<br />
copy_files(&quot;/public/iui&quot;, &quot;/public/iui&quot;, directory)</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon Zylstra</title>
		<link>http://www.simpltry.com/2008/02/10/ann-iphone4r-a-rails-plugin/#comment-7089</link>
		<dc:creator>Brandon Zylstra</dc:creator>
		<pubDate>Wed, 12 Mar 2008 08:30:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.simpltry.com/2008/02/10/ann-iphone4r-a-rails-plugin/#comment-7089</guid>
		<description>&lt;p&gt;You might want to correct the URI.  It's actually available at &lt;code&gt;http://svn.simpltry.com/plugins/iphone4r/&lt;/code&gt; not &lt;code&gt;http://rails.simpltry.com/plugins/iphone4r/&lt;/code&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>You might want to correct the URI.  It&#8217;s actually available at <code><a href="http://svn.simpltry.com/plugins/iphone4r/" rel="nofollow">http://svn.simpltry.com/plugins/iphone4r/</a></code> not <code><a href="http://rails.simpltry.com/plugins/iphone4r/" rel="nofollow">http://rails.simpltry.com/plugins/iphone4r/</a></code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
