<?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>All Aboard Rails &#187; Plugins</title>
	<atom:link href="http://rails.webintellix.com/category/plugins/feed/" rel="self" type="application/rss+xml" />
	<link>http://rails.webintellix.com</link>
	<description>Ruby on Rails fun on Windows</description>
	<lastBuildDate>Tue, 29 Jun 2010 04:14:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing Rails plugins from Github on Windows</title>
		<link>http://rails.webintellix.com/2009/05/12/installing-rails-plugins-from-github-on-windows/</link>
		<comments>http://rails.webintellix.com/2009/05/12/installing-rails-plugins-from-github-on-windows/#comments</comments>
		<pubDate>Tue, 12 May 2009 06:13:00 +0000</pubDate>
		<dc:creator>Rupak Ganguly</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[recaptcha]]></category>

		<guid isPermaLink="false">http://rails.webintellix.com/index.php/2009/05/installing-rails-plugins-from-github-on-windows/</guid>
		<description><![CDATA[Well, I have installed several Rails plugins but I was bummed when I tried to install the re-captcha plugin from Github. The command belwo just fails silently and creates an empty folder “recaptcha” under vendor/plugins:
ruby script/plugin install git://github.com/ambethia/recaptcha.git
Well, after a little googling, I found out here that using a http moniker instead of the git [...]]]></description>
			<content:encoded><![CDATA[<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F12%2Finstalling-rails-plugins-from-github-on-windows%2F&amp;title=Installing+Rails+plugins+from+Github+on+Windows" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F12%2Finstalling-rails-plugins-from-github-on-windows%2F&amp;title=Installing+Rails+plugins+from+Github+on+Windows" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F12%2Finstalling-rails-plugins-from-github-on-windows%2F&amp;title=Installing+Rails+plugins+from+Github+on+Windows" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F12%2Finstalling-rails-plugins-from-github-on-windows%2F&amp;headline=Installing+Rails+plugins+from+Github+on+Windows" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Installing+Rails+plugins+from+Github+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F12%2Finstalling-rails-plugins-from-github-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Installing+Rails+plugins+from+Github+on+Windows&amp;u=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F12%2Finstalling-rails-plugins-from-github-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Installing+Rails+plugins+from+Github+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F12%2Finstalling-rails-plugins-from-github-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Installing+Rails+plugins+from+Github+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F12%2Finstalling-rails-plugins-from-github-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Installing+Rails+plugins+from+Github+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F12%2Finstalling-rails-plugins-from-github-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F12%2Finstalling-rails-plugins-from-github-on-windows%2F&amp;title=Installing+Rails+plugins+from+Github+on+Windows&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F12%2Finstalling-rails-plugins-from-github-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F12%2Finstalling-rails-plugins-from-github-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F12%2Finstalling-rails-plugins-from-github-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div><p>Well, I have installed several Rails plugins but I was bummed when I tried to install the re-captcha plugin from Github. The command belwo just fails silently and creates an empty folder “recaptcha” under vendor/plugins:</p>
<pre class="csharpcode">ruby script/plugin install git://github.com/ambethia/recaptcha.git</pre>
<p>Well, after a little googling, I found out <a href="http://jamie.ideasasylum.com/2008/08/installing-rails-plugins-with-git-on-windows/" target="_blank">here</a> that using a http moniker instead of the git moniker would solve the issue like so:</p>
<pre class="csharpcode">ruby script/plugin install <strong><span style="color: #ffff80;">http://</span></strong>github.com/ambethia/recaptcha.git</pre>
<p>Well, no  luck. Same empty folder. So, now reading the comment from Tom in the above article, I found out that what really works is the adding a trailing slash at the end of the above command like so:</p>
<pre class="csharpcode">ruby script/plugin install <a href="http://github.com/ambethia/recaptcha.git/">http://github.com/ambethia/recaptcha.git<strong><span style="color: #ffff80;">/</span></strong></a><strong></strong></pre>
<p>Bliss at last. The plugin directory has files now. Hope you did not have to spend too much time searching for this…</p>
<p><strong>Update (02/22/2010):</strong></p>
<p>I have noticed (so have many other users) that somewhere around Feb. 2010, the above method of installing the plugins do not work. I am investigating the issue with respect to different rails / ruby versions. I have tried with Rails 2.3.2, 2.3.5/Ruby 1.8.6, 1.8.7 and I have the issue. I will post an update if I find a solution. Till then, just download the zip file from Github downloads and copy it to your vendor/plugins folder. You can try cloning the github repo for the plugin as well if you choose to do so.</p>
<p>If you are using Ruby 1.9, try to see if the following fix resolves the issue:</p>
<p><a href="https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2018">https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2018</a></p>
<div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:0a2bbda3-2434-4d00-88a1-395ea8b5c453" class="wlWriterEditableSmartContent" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px"><a rel="tag" href="http://technorati.com/tags/github"></a></div>
]]></content:encoded>
			<wfw:commentRss>http://rails.webintellix.com/2009/05/12/installing-rails-plugins-from-github-on-windows/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>Attachment_fu size parameter on Windows</title>
		<link>http://rails.webintellix.com/2008/03/13/attachment_fu-size-parameter-on-windows/</link>
		<comments>http://rails.webintellix.com/2008/03/13/attachment_fu-size-parameter-on-windows/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 04:38:51 +0000</pubDate>
		<dc:creator>Rupak Ganguly</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[attachment_fu]]></category>

		<guid isPermaLink="false">http://rupakg.wordpress.com/2008/03/13/attachment_fu-size-parameter-on-windows/</guid>
		<description><![CDATA[Well, long story short, I have been going crazy trying to make attachment_fu upload a image file greater than 10KB in size on Windows. It keeps showing an error message &#8220;Size is not in the list&#8221;. Turns out that the size parameter needs to explicitly set to the following:
has_attachment  :content_type =&#62; :image, :size =&#62; 0.kilobytes..1.gigabytes
The [...]]]></description>
			<content:encoded><![CDATA[<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F13%2Fattachment_fu-size-parameter-on-windows%2F&amp;title=Attachment_fu+size+parameter+on+Windows" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F13%2Fattachment_fu-size-parameter-on-windows%2F&amp;title=Attachment_fu+size+parameter+on+Windows" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F13%2Fattachment_fu-size-parameter-on-windows%2F&amp;title=Attachment_fu+size+parameter+on+Windows" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F13%2Fattachment_fu-size-parameter-on-windows%2F&amp;headline=Attachment_fu+size+parameter+on+Windows" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Attachment_fu+size+parameter+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F13%2Fattachment_fu-size-parameter-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Attachment_fu+size+parameter+on+Windows&amp;u=http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F13%2Fattachment_fu-size-parameter-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Attachment_fu+size+parameter+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F13%2Fattachment_fu-size-parameter-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Attachment_fu+size+parameter+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F13%2Fattachment_fu-size-parameter-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Attachment_fu+size+parameter+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F13%2Fattachment_fu-size-parameter-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F13%2Fattachment_fu-size-parameter-on-windows%2F&amp;title=Attachment_fu+size+parameter+on+Windows&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F13%2Fattachment_fu-size-parameter-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F13%2Fattachment_fu-size-parameter-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F13%2Fattachment_fu-size-parameter-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div><p>Well, long story short, I have been going crazy trying to make <a href="http://svn.techno-weenie.net/projects/plugins/attachment_fu/">attachment_fu</a> upload a image file greater than 10KB in size on Windows. It keeps showing an error message &#8220;Size is not in the list&#8221;. Turns out that the size parameter needs to explicitly set to the following:</p>
<p><span style="font-family: Courier New; color: #80ff00;">has_attachment  :content_type =&gt; :image, :size =&gt; 0.kilobytes..1.gigabytes</span></p>
<p>The important part is that you have to specify the minimum limit as <span style="font-family: Courier New; color: #80ff00;">0.kilobytes</span> or it will not work.</p>
<p>Checkout some of the other <a href="http://hamptoncatlin.com/2007/attachment_fu-gotchas">attachment_fu gotchas</a>.</p>
<div class="wlWriterSmartContent" style="display:inline;margin:0;padding:0;">Technorati Tags: <a rel="tag" href="http://technorati.com/tags/plugins">plugins</a>,<a rel="tag" href="http://technorati.com/tags/attachment_fu">attachment_fu</a>,<a rel="tag" href="http://technorati.com/tags/windows">windows</a>,<a rel="tag" href="http://technorati.com/tags/issues">issues</a></div>
]]></content:encoded>
			<wfw:commentRss>http://rails.webintellix.com/2008/03/13/attachment_fu-size-parameter-on-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
