<?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; Rails</title>
	<atom:link href="http://rails.webintellix.com/category/rails/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>Error in Spree rake db:bootstrap issue &#8211; stack level too deep</title>
		<link>http://rails.webintellix.com/2010/05/28/error-in-spree-rake-dbbootstrap-issue-stack-level-too-deep/</link>
		<comments>http://rails.webintellix.com/2010/05/28/error-in-spree-rake-dbbootstrap-issue-stack-level-too-deep/#comments</comments>
		<pubDate>Thu, 27 May 2010 22:00:00 +0000</pubDate>
		<dc:creator>Rupak Ganguly</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[Spree]]></category>

		<guid isPermaLink="false">http://rails.webintellix.com/2010/05/28/error-in-spree-rake-dbbootstrap-issue-stack-level-too-deep/</guid>
		<description><![CDATA[I have been working on some Spree based ecommerce stores lately, and I ran into this issue while creating a new Spree project. I had bumped into this a while back but did not write about it then. But, now I have decided to pen it down.
The steps to creating a new Spree project is [...]]]></description>
			<content:encoded><![CDATA[<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%2F&amp;title=Error+in+Spree+rake+db%3Abootstrap+issue+-+stack+level+too+deep" ><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%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%2F&amp;title=Error+in+Spree+rake+db%3Abootstrap+issue+-+stack+level+too+deep" ><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%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%2F&amp;title=Error+in+Spree+rake+db%3Abootstrap+issue+-+stack+level+too+deep" ><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%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%2F&amp;headline=Error+in+Spree+rake+db%3Abootstrap+issue+-+stack+level+too+deep" ><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=Error+in+Spree+rake+db%3Abootstrap+issue+-+stack+level+too+deep&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%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=Error+in+Spree+rake+db%3Abootstrap+issue+-+stack+level+too+deep&amp;u=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%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=Error+in+Spree+rake+db%3Abootstrap+issue+-+stack+level+too+deep&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%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=Error+in+Spree+rake+db%3Abootstrap+issue+-+stack+level+too+deep&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%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=Error+in+Spree+rake+db%3Abootstrap+issue+-+stack+level+too+deep&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%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%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%2F&amp;title=Error+in+Spree+rake+db%3Abootstrap+issue+-+stack+level+too+deep&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%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%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%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%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%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%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>I have been working on some <a href="http://spreecommerce.com" target="_blank">Spree</a> based ecommerce stores lately, and I ran into this issue while creating a new Spree project. I had bumped into this a while back but did not write about it then. But, now I have decided to pen it down.</p>
<p>The steps to creating a new <a href="http://spreecommerce.com" target="_blank">Spree</a> project is very simple. Assuming that you have Ruby and Rails both installed, you can simply do:</p>
<p>$ gem install spree</p>
<p><code>$ spree mystore</code></p>
<p><code>$ cd mystore</code></p>
<p><code>$ rake db:bootstrap</code></p>
<p><code>$ script/server </code></p>
<p>And, voila you should have a shiny Spree store.</p>
<p>But, I have bumped into an issue at the step <code>$ rake db:bootstrap</code> as shown below:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">$ rake db:bootstrap
<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#9966CC; font-weight:bold;">in</span> c:<span style="color:#006600; font-weight:bold;">/</span>RoRProjs<span style="color:#006600; font-weight:bold;">/</span>wixspree<span style="color:#006600; font-weight:bold;">&#41;</span>
rake aborted!
stack level too deep
c:<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span><span style="color:#006666;">1.8</span><span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span>rake<span style="color:#006600; font-weight:bold;">-</span>0.8.7<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>rake.<span style="color:#9900CC;">rb</span>:<span style="color:#006666;">2390</span>:<span style="color:#9966CC; font-weight:bold;">in</span> <span style="color:#996600;">`raw_load_rakefile'
(See full trace by running task with --trace)</span></pre></div></div>

<p>After a little digging, I found out that Spree has a dependency on the ‘jeweler’ gem which in turn has some kind of dependency on Git.</p>
<p>So, although it seems like a weird solution but just by initializing a git repository on your Spree project folder i.e. mystore in my example, you will be happy to see that the problem is resolved.</p>
<p>So, to recap, in the above steps to create your new Spree project, add a new step before the rake step:</p>
<p><code>$ git init</code></p>
<p><code>$ rake db:bootstrap</code></p>
<p>You should be golden by now. Hope it helps.</p>
<p><strong>Note</strong>: I am running <a href="http://spreecommerce.com" target="_blank">Spree</a> 0.9.4 on Windows Vista and Rails 2.3.5 and Ruby 1.8.6 (ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32])</p>
<p><strong>Note</strong>: If you do not have Git installed, you might want to do that. Here are some excellent articles which show how to do it:</p>
<p><a title="http://github.com/guides/using-git-and-github-for-the-windows-for-newbies" href="http://github.com/guides/using-git-and-github-for-the-windows-for-newbies">http://github.com/guides/using-git-and-github-for-the-windows-for-newbies</a></p>
<p><a title="http://kylecordes.com/2008/git-windows-go" href="http://kylecordes.com/2008/git-windows-go">http://kylecordes.com/2008/git-windows-go</a></p>
<p><a title="http://www.gitcasts.com/posts/git-on-windows" href="http://www.gitcasts.com/posts/git-on-windows">http://www.gitcasts.com/posts/git-on-windows</a></p>
]]></content:encoded>
			<wfw:commentRss>http://rails.webintellix.com/2010/05/28/error-in-spree-rake-dbbootstrap-issue-stack-level-too-deep/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Error in Ruby relative_path_from call on Windows</title>
		<link>http://rails.webintellix.com/2010/05/27/error-in-ruby-relative_path_from-call-on-windows/</link>
		<comments>http://rails.webintellix.com/2010/05/27/error-in-ruby-relative_path_from-call-on-windows/#comments</comments>
		<pubDate>Wed, 26 May 2010 22:00:00 +0000</pubDate>
		<dc:creator>Rupak Ganguly</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[relative_path_from]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[Spree]]></category>

		<guid isPermaLink="false">http://rails.webintellix.com/2010/05/27/error-in-ruby-relative_path_from-call-on-windows/</guid>
		<description><![CDATA[I was recently working on some code for building an extension for Spree, when I ran into an issue while generating a extension controller. The error only happens on Windows.
The error in the console looks like this:

$ ruby script/generate extension_controller PromotionManager admin/promotions
c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#
version_requirements is deprecated and will be removed on or after August 2010. Use [...]]]></description>
			<content:encoded><![CDATA[<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-on-windows%2F&amp;title=Error+in+Ruby+relative_path_from+call+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%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-on-windows%2F&amp;title=Error+in+Ruby+relative_path_from+call+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%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-on-windows%2F&amp;title=Error+in+Ruby+relative_path_from+call+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%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-on-windows%2F&amp;headline=Error+in+Ruby+relative_path_from+call+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=Error+in+Ruby+relative_path_from+call+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-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=Error+in+Ruby+relative_path_from+call+on+Windows&amp;u=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-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=Error+in+Ruby+relative_path_from+call+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-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=Error+in+Ruby+relative_path_from+call+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-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=Error+in+Ruby+relative_path_from+call+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-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%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-on-windows%2F&amp;title=Error+in+Ruby+relative_path_from+call+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%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-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%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-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%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-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>I was recently working on some code for building an extension for Spree, when I ran into an issue while generating a extension controller. The error only happens on Windows.</p>
<p>The error in the console looks like this:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">$ ruby script<span style="color:#006600; font-weight:bold;">/</span>generate extension_controller PromotionManager admin<span style="color:#006600; font-weight:bold;">/</span>promotions
c:<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span><span style="color:#006666;">1.8</span><span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span>rails<span style="color:#006600; font-weight:bold;">-</span>2.3.5<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>rails<span style="color:#006600; font-weight:bold;">/</span>gem_dependency.<span style="color:#9900CC;">rb</span>:<span style="color:#006666;">119</span>:Warning: <span style="color:#6666ff; font-weight:bold;">Gem::Dependency</span><span style="color:#008000; font-style:italic;">#</span>
version_requirements is deprecated <span style="color:#9966CC; font-weight:bold;">and</span> will be removed on <span style="color:#9966CC; font-weight:bold;">or</span> after August 2010. <span style="color:#9900CC;">Use</span> <span style="color:#008000; font-style:italic;">#requirement</span>
Loading haml<span style="color:#006600; font-weight:bold;">-</span>edge gem.
<span style="color:#9900CC;">c</span>:<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span><span style="color:#006666;">1.8</span><span style="color:#006600; font-weight:bold;">/</span>pathname.<span style="color:#9900CC;">rb</span>:<span style="color:#006666;">709</span>:<span style="color:#9966CC; font-weight:bold;">in</span> <span style="color:#996600;">`relative_path_from': different prefix: &quot;c:/&quot; and &quot;C:/RoRPro
js/spreestore&quot; (ArgumentError)
from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails_generator/lookup.rb:110:in `</span>use_co
mponent_sources!<span style="color:#996600;">'
from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails_generator/lookup.rb:109:in `each'</span>
from c:<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span><span style="color:#006666;">1.8</span><span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span>rails<span style="color:#006600; font-weight:bold;">-</span>2.3.5<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>rails_generator<span style="color:#006600; font-weight:bold;">/</span>lookup.<span style="color:#9900CC;">rb</span>:<span style="color:#006666;">109</span>:<span style="color:#9966CC; font-weight:bold;">in</span> <span style="color:#996600;">`use_co
mponent_sources!'
from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails_generator/lookup.rb:55:in `</span><span style="color:#9966CC; font-weight:bold;">include</span>
d<span style="color:#996600;">'
from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails_generator.rb:38:in `include'</span>
from c:<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span><span style="color:#006666;">1.8</span><span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span>rails<span style="color:#006600; font-weight:bold;">-</span>2.3.5<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>rails_generator.<span style="color:#9900CC;">rb</span>:<span style="color:#006666;">38</span>:<span style="color:#9966CC; font-weight:bold;">in</span> <span style="color:#996600;">`send'
from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails_generator.rb:38
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `</span>gem_original_require<span style="color:#996600;">'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'</span>
from c:<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span><span style="color:#006666;">1.8</span><span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span>activesupport<span style="color:#006600; font-weight:bold;">-</span>2.3.5<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>active_support<span style="color:#006600; font-weight:bold;">/</span>dependencies.<span style="color:#9900CC;">rb</span>:<span style="color:#006666;">1</span>
<span style="color:#006666;">56</span>:<span style="color:#9966CC; font-weight:bold;">in</span> <span style="color:#996600;">`require'
from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:5
21:in `</span>new_constants_in<span style="color:#996600;">'
from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:1
56:in `require'</span>
from script<span style="color:#006600; font-weight:bold;">/</span>generate:<span style="color:#006666;">4</span></pre></div></div>

</pre>
<p>The error is specifically in this line:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">c:<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span><span style="color:#006666;">1.8</span><span style="color:#006600; font-weight:bold;">/</span>pathname.<span style="color:#9900CC;">rb</span>:<span style="color:#006666;">709</span>:<span style="color:#9966CC; font-weight:bold;">in</span> <span style="color:#996600;">`relative_path_from': different prefix: &quot;c:/&quot; and &quot;C:/RoRPro
js/spreestore&quot; (ArgumentError)</span></pre></div></div>

</pre>
<p>After a little digging, it was evident that the <strong>‘relative_path_from’</strong> method in <strong>‘/ruby/lib/ruby/1.8/pathname.rb’</strong> file had the problem. The problem was also described as a ticket at <a href="http://redmine.ruby-lang.org/issues/show/1366">http://redmine.ruby-lang.org/issues/show/1366</a> and the excerpt of the issue is shown below:</p>
<blockquote><p>On Windows, the case of the drive letter can be either upper case or lower case (eg, "C:" or "c:") on the same machine at the same time in different Command Prompt Windows (see below for details). Dir.pwd will return either lower-case or upper-case for the drive letter (“C:/” or “c:/”) depending on the Command Prompt it is run from. However, <strong>FILE</strong> always uses lower-case drive letter. This can cause an ArgumentError when comparing Dir.pwd and <strong>FILE</strong> using Pathname#relative_path_from. This happens with version 1.9.1p0 as well. Pathname#relative_path_from should deal with the case where the case of the argument is different.</p></blockquote>
<p>Note, that I have both my ruby install folder and my project folder on c: drive. And, I am running Ruby 1.8.6  - ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]</p>
<p><strong>Solution</strong></p>
<p>I monkey-patched the following lines in pathname.rb file as shown below.</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#9966CC; font-weight:bold;">def</span> relative_path_from<span style="color:#006600; font-weight:bold;">&#40;</span>base_directory<span style="color:#006600; font-weight:bold;">&#41;</span>
dest_directory = <span style="color:#0000FF; font-weight:bold;">self</span>.<span style="color:#9900CC;">cleanpath</span>.<span style="color:#9900CC;">to_s</span>.<span style="color:#9900CC;">capitalize</span>!
base_directory = base_directory.<span style="color:#9900CC;">cleanpath</span>.<span style="color:#9900CC;">to_s</span>.<span style="color:#9900CC;">capitalize</span>!</pre></div></div>

</pre>
<p>I added the <strong>capitalize!</strong> keyword at the end of the two lines so that both the paths are in uppercase, so that later in the code (line 708-710) shown below does not barf and give us the error we got shown in the first para. of the article.</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#9966CC; font-weight:bold;">if</span> dest_prefix != base_prefix
<span style="color:#CC0066; font-weight:bold;">raise</span> <span style="color:#CC00FF; font-weight:bold;">ArgumentError</span>, <span style="color:#996600;">&quot;different prefix: #{dest_prefix.inspect} and #{base_directory.inspect}&quot;</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>The temporary solution works after the patch. Hope it helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://rails.webintellix.com/2010/05/27/error-in-ruby-relative_path_from-call-on-windows/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to install RMagick + ImageMagick on Windows</title>
		<link>http://rails.webintellix.com/2010/01/04/how-to-install-rmagick-imagemagick-on-windows/</link>
		<comments>http://rails.webintellix.com/2010/01/04/how-to-install-rmagick-imagemagick-on-windows/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 08:35:29 +0000</pubDate>
		<dc:creator>Rupak Ganguly</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[ImageMagick]]></category>
		<category><![CDATA[RMagick]]></category>
		<category><![CDATA[SQLite3]]></category>

		<guid isPermaLink="false">http://rails.webintellix.com/?p=138</guid>
		<description><![CDATA[I have installed RMagick and Image Magick on many Windows machines and I have stumbled across various kinds of errors, and finally I have decided to document them so that I could not only document it for myself, but for other people like me, who are stuck due to these errors.
The issues that I have [...]]]></description>
			<content:encoded><![CDATA[<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-on-windows%2F&amp;title=How+to+install+RMagick+%2B+ImageMagick+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%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-on-windows%2F&amp;title=How+to+install+RMagick+%2B+ImageMagick+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%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-on-windows%2F&amp;title=How+to+install+RMagick+%2B+ImageMagick+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%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-on-windows%2F&amp;headline=How+to+install+RMagick+%2B+ImageMagick+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=How+to+install+RMagick+%2B+ImageMagick+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-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=How+to+install+RMagick+%2B+ImageMagick+on+Windows&amp;u=http%3A%2F%2Frails.webintellix.com%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-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=How+to+install+RMagick+%2B+ImageMagick+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-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=How+to+install+RMagick+%2B+ImageMagick+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-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=How+to+install+RMagick+%2B+ImageMagick+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-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%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-on-windows%2F&amp;title=How+to+install+RMagick+%2B+ImageMagick+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%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-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%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-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%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-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>I have installed RMagick and Image Magick on many Windows machines and I have stumbled across various kinds of errors, and finally I have decided to document them so that I could not only document it for myself, but for other people like me, who are stuck due to these errors.</p>
<p>The issues that I have faced are as follows:</p>
<p>A. This version of RMagick was created to run with ImageMagick 6.3.0 but ImageMagick 6.3.5 is installed on this system. You should either<br />
1) Configure and build RMagick for ImageMagick 6.3.5, or<br />
2) download ImageMagick 6.3.0 from http://www.imagemagick.org and install it.<br />
B. Errors about missing CORE_.. .dll file(s).<br />
C. Errors about missing sqlite3.dll.</p>
<p>Issue A. stems from the fact that you have a incompatible version of ImageMagick installed which does not work with RMagick. The solution would be to uninstall any existing ImageMagick and/or RMagick gem, and start all over as described below.</p>
<p>Issue B. tells me that either ImageMagick or RMagick is not installed properly.</p>
<p>Issue C. is a bit off and has nothing to do with ImageMagick or RMagick. It is probably being thrown by the plugin or application that you are using that needs ImageMagick or RMagick. To fix this issue, just install Sqlite3 and I have a <a href="http://rails.webintellix.com/index.php/2009/05/install-sqlite3-on-windows/" target="_blank">post</a> just for that.</p>
<p>Now that we have tackled the issues, let&#8217;s get to the goal &#8211; how to install RMagick + ImageMagick on Windows.</p>
<ol>
<li>1. Uninstall any Image Magick or RMagick gem from before.</li>
<li>Download rmagick-win32 for windows that has the gem and the ImageMagick installer from <a href="http://rubyforge.org/frs/download.php/64917/RMagick-2.12.0-ImageMagick-6.5.6-8-Q8.zip" target="_blank">http://rubyforge.org/frs/download.php/64917/RMagick-2.12.0-ImageMagick-6.5.6-8-Q8.zip</a></li>
<li>Unzip the rmagick-win32 zip file that you downloaded above.</li>
<li>Install the ImageMagick from the installer that came in the zip i.e. run the ImageMagick-6.5.6-8-Q8-windows-dll.exe. This will install ImageMagick for you.</li>
<li>Now, we need to install the rmagic gem that came in the zip i.e. rmagick-2.12.0-x86-mswin32.gem. To do that, run the following command on a windows command line:<br />
<code>&gt; gem install &lt;path where you downloaded and then unzipped the rmagick zip&gt;\rmagick-2.12.0-x86-mswin32.gem<br />
</code>Note: When you read this post, the version nos. of the gem and the zip file may change. Please adjust your commands for that.</li>
<li>If you get Issue C., from above you probably are left with installing Sqlite3. If you need help you can look up my <a href="http://rails.webintellix.com/index.php/2009/05/install-sqlite3-on-windows/" target="_blank">post</a>.</li>
<p>That should get you going. Yet another big Ruby on Rails development hurdle on Windows, solved for good. If you have any other issues or questions regarding the subject, please let me know via comments. I will try my best to help you.</ol>
]]></content:encoded>
			<wfw:commentRss>http://rails.webintellix.com/2010/01/04/how-to-install-rmagick-imagemagick-on-windows/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Rails Magazine releases free Issue #5 digital edition</title>
		<link>http://rails.webintellix.com/2009/12/28/rails-magazine-releases-free-issue-5-digital-edition/</link>
		<comments>http://rails.webintellix.com/2009/12/28/rails-magazine-releases-free-issue-5-digital-edition/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 15:00:00 +0000</pubDate>
		<dc:creator>Rupak Ganguly</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[rails magazine]]></category>

		<guid isPermaLink="false">http://rails.webintellix.com/index.php/2009/12/rails-magazine-releases-free-issue-5-digital-edition/</guid>
		<description><![CDATA[ Themed in beautiful Winter art and pictures, Rails Magazine released their Issue #5 free digital edition to the whole Ruby and Rails community worldwide.
It is the largest issue since we started, with a whopping 65 pages in full-color, of excellent articles from various authors covering various topics.
It is a Holiday gift from Rails Magazine [...]]]></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%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%2F&amp;title=Rails+Magazine+releases+free+Issue+%235+digital+edition" ><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%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%2F&amp;title=Rails+Magazine+releases+free+Issue+%235+digital+edition" ><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%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%2F&amp;title=Rails+Magazine+releases+free+Issue+%235+digital+edition" ><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%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%2F&amp;headline=Rails+Magazine+releases+free+Issue+%235+digital+edition" ><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=Rails+Magazine+releases+free+Issue+%235+digital+edition&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%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=Rails+Magazine+releases+free+Issue+%235+digital+edition&amp;u=http%3A%2F%2Frails.webintellix.com%2F2009%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%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=Rails+Magazine+releases+free+Issue+%235+digital+edition&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%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=Rails+Magazine+releases+free+Issue+%235+digital+edition&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%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=Rails+Magazine+releases+free+Issue+%235+digital+edition&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%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%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%2F&amp;title=Rails+Magazine+releases+free+Issue+%235+digital+edition&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%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%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%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%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%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%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><a href="http://webintellix.com/blog_rails/wp-content/uploads/2009/12/railsmagazinecover5.png"><img style="margin: 0px 10px 0px 0px; display: inline; border: 0px;" title="railsmagazine-cover5" src="http://webintellix.com/blog_rails/wp-content/uploads/2009/12/railsmagazinecover5-thumb.png" border="0" alt="railsmagazine-cover5" width="189" height="244" align="left" /></a> Themed in beautiful Winter art and pictures, <a href="http://www.railsmagazine.com" target="_blank">Rails Magazine</a> released their <a href="http://www.railsmagazine.com/issues/5" target="_blank">Issue #5</a> free digital edition to the whole Ruby and Rails community worldwide.</p>
<p>It is the largest issue since we started, with a whopping 65 pages in full-color, of excellent articles from various authors covering various topics.</p>
<p>It is a Holiday gift from <a href="http://www.railsmagazine.com" target="_blank">Rails Magazine</a> to all of the Ruby and Rails enthusiasts. You can download the print edition from <a href="http://www.railsmagazine.com/issues/5" target="_blank">here</a>.</p>
<p>This issue covers various topics and builds upon earlier articles in the series. The following is a synopsis of the material available in this issue:</p>
<ul>
<li><em>Authentication with Gigya</em> by Curtis Jennings Schofield</li>
<li><em>Background Processing in Rails</em> by Erik Andrejko</li>
<li><em>On Your Rails (and Ruby) Education</em> by Bob Martens</li>
<li><em>Sinatra: Fast Web Application in Ruby</em> by Carlo Pecchia</li>
<li><em>Sprockets</em> by Starr Horne</li>
<li><em>Adding Pre-made Extensions to Radiant CMS</em> by Casper Fabricius</li>
<li><em>Protecting Your Application From Impostors</em> by Gavin Morrice</li>
<li><em>Geography division select tag</em> by Satish Kota</li>
<li><em>RailsBridge: Rebooting the Rails Community</em> by Mike Gunderloy</li>
<li><em>Prince: Powerful PDF Generation</em> by Michael Bleigh</li>
<li><em>Ruby C Extension Development</em> by Claudio Fiorini</li>
<li><em>Using the Twitter API with Ruby</em> by Brian Rivard</li>
<li><em>Continuous Integration Tools in Rails</em> by Saurabh Bhatia</li>
<li><em>Active Scaffold</em> by Payal Gupta</li>
<li><em>Implement a Full Text Search Engine with Xapian</em> by Amit Mathur</li>
</ul>
<p>Keeping up with the spirit, we are trying to get the schedule for the magazine a bit more predictable. We are hoping we can get out 6 issues or even 12 issues for the coming year. Time will tell. But, whatever the schedule is or however many issues we can release, we will surely make sure we get quality content over to our readers.</p>
<p>We welcome new authors to write for us. Please contact me (rupak /dot/ ganguly /at/ railsmagazine /dot/ com) or Olimpiu Metiu (<a href="mailto:editor@railsmagazine.com">editor /at/  railsmagazine /dot/ com</a> for details. You can also visit the official website for <a href="http://www.railsmagazine.com" target="_blank">Rails Magazine</a>.</p>
<p>If you have any feedback, please do write to us or participate in the <a href="http://survey.railsmagazine.com">survey</a> to tells us what you want to read.</p>
]]></content:encoded>
			<wfw:commentRss>http://rails.webintellix.com/2009/12/28/rails-magazine-releases-free-issue-5-digital-edition/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Rails Magazine releases Issue #4 in print edition</title>
		<link>http://rails.webintellix.com/2009/08/31/rails-magazine-releases-issue-4-in-print-edition/</link>
		<comments>http://rails.webintellix.com/2009/08/31/rails-magazine-releases-issue-4-in-print-edition/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 22:33:00 +0000</pubDate>
		<dc:creator>Rupak Ganguly</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[rails magazine]]></category>
		<category><![CDATA[interviews]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[RubyKaigi 2009]]></category>

		<guid isPermaLink="false">http://rails.webintellix.com/index.php/2009/08/rails-magazine-releases-issue-4-in-print-edition/</guid>
		<description><![CDATA[ Dubbed as “Future of Rails”, Rails Magazine released Issue #4 in print. You can download the print edition from here. This issue brings 32-pages, filled with exclusive RubyKaigi 2009 conference coverage, in-depth articles, interviews with David Heinemeier Hansson, Matz, Yehuda Katz, Tom Enebo and Koichi Sasada.
The RubyKaigi 2009 coverage provides a nice roundup about [...]]]></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%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%2F&amp;title=Rails+Magazine+releases+Issue+%234+in+print+edition" ><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%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%2F&amp;title=Rails+Magazine+releases+Issue+%234+in+print+edition" ><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%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%2F&amp;title=Rails+Magazine+releases+Issue+%234+in+print+edition" ><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%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%2F&amp;headline=Rails+Magazine+releases+Issue+%234+in+print+edition" ><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=Rails+Magazine+releases+Issue+%234+in+print+edition&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%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=Rails+Magazine+releases+Issue+%234+in+print+edition&amp;u=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%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=Rails+Magazine+releases+Issue+%234+in+print+edition&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%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=Rails+Magazine+releases+Issue+%234+in+print+edition&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%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=Rails+Magazine+releases+Issue+%234+in+print+edition&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%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%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%2F&amp;title=Rails+Magazine+releases+Issue+%234+in+print+edition&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%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%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%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%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%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%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><a href="http://www.railsmagazine.com/issues/4"><img style="border-bottom: 0px; border-left: 0px; margin: 0px 0px 10px; display: inline; border-top: 0px; border-right: 0px" title="railsmagazine-cover4" src="http://webintellix.com/blog_rails/wp-content/uploads/2009/08/railsmagazinecover4.png" border="0" alt="railsmagazine-cover4" width="188" height="244" align="right" /></a> Dubbed as “Future of Rails”, Rails Magazine released Issue #4 in print. You can download the print edition from <a href="http://www.railsmagazine.com/issues/4" target="_blank">here</a>. This issue brings 32-pages, filled with exclusive RubyKaigi 2009 conference coverage, in-depth articles, interviews with David Heinemeier Hansson, Matz, Yehuda Katz, Tom Enebo and Koichi Sasada.</p>
<p>The RubyKaigi 2009 coverage provides a nice roundup about the conference with articles, photos and session information. The interviews are great giving insights into Rails 3, Ruby 1.9 and JRuby. And, last but not the least, this issue also brings a wealth of knowledge via the fine articles on various topics.</p>
<p>I thoroughly enjoyed interviewing Yehuda Katz and Tom Enebo and I thank them both for their participation.</p>
<p>If you have any feedback, please do write to us or participate in the <a href="http://survey.railsmagazine.com" target="_blank">survey</a> to tells us what you want to read.</p>
<p>Please be on the lookout for the <strong>free downloadable digital version</strong> which will be released soon!</p>
<p><strong><span style="font-size: small;">Table of Contents</span>:</strong></p>
<p><em><a href="http://www.railsmagazine.com/articles/37">A Word From the Editor</a></em> by Olimpiu Metiu</p>
<p><em><a href="http://www.railsmagazine.com/articles/38">Background Processing with Delayed_Job</a></em> by James Harrison</p>
<p><em><a href="http://www.railsmagazine.com/articles/39">Generating PDF with ODF templates</a></em> by Rodrigo Rosenfeld Rosas</p>
<p><em><a href="http://www.railsmagazine.com/articles/40">Interview with Yehuda Katz</a></em> by Yehuda Katz and Rupak Ganguly</p>
<p><em><a href="http://www.railsmagazine.com/articles/41">Interview with David Heinemeier Hansson</a></em> by Mark Coates</p>
<p><em><a href="http://www.railsmagazine.com/articles/42">Feel the Radiance with Radiant CMS</a></em> by Saurabh Bhatia</p>
<p><em><a href="http://www.railsmagazine.com/articles/43">Interview with Thomas Enebo</a></em> by Thomas Enebo and Rupak Ganguly</p>
<p><em><a href="http://www.railsmagazine.com/articles/44">Oracle Tips and Tricks</a></em> by Greg Donald</p>
<p><em><a href="http://www.railsmagazine.com/articles/45">Ruby Kaigi Rails Magazine Exclusive Coverage</a></em> by Khaled al Habache</p>
<p><em><a href="http://www.railsmagazine.com/articles/46">RubyKaigi 2009 Roundup</a></em> by Ehab El-Badry</p>
<p><em><a href="http://www.railsmagazine.com/articles/47">Interview with Matz</a></em> by Yukihiro Matsumoto and Muhammad Ali</p>
<p><em><a href="http://www.railsmagazine.com/articles/48">Interview with Koichi Sasada</a></em> by Koichi Sasada and Muhammad Ali</p>
]]></content:encoded>
			<wfw:commentRss>http://rails.webintellix.com/2009/08/31/rails-magazine-releases-issue-4-in-print-edition/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tip: has_one and nested form/attributes</title>
		<link>http://rails.webintellix.com/2009/08/15/tip-has_one-and-nested-formattributes/</link>
		<comments>http://rails.webintellix.com/2009/08/15/tip-has_one-and-nested-formattributes/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 18:59:35 +0000</pubDate>
		<dc:creator>Rupak Ganguly</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://rails.webintellix.com/index.php/2009/08/tip-has_one-and-nested-formattributes/</guid>
		<description><![CDATA[Although, the usage of nested forms with has_many associations is well documented, I found that especially the call ..build that works for has_many associations do not work for has_one associations. For the code to work for has_one associations, use this instead:.build_E.g book.build_author where book has_one association to author.
Hope this helps.
]]></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%2F08%2F15%2Ftip-has_one-and-nested-formattributes%2F&amp;title=Tip%3A+has_one+and+nested+form%2Fattributes" ><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%2F08%2F15%2Ftip-has_one-and-nested-formattributes%2F&amp;title=Tip%3A+has_one+and+nested+form%2Fattributes" ><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%2F08%2F15%2Ftip-has_one-and-nested-formattributes%2F&amp;title=Tip%3A+has_one+and+nested+form%2Fattributes" ><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%2F08%2F15%2Ftip-has_one-and-nested-formattributes%2F&amp;headline=Tip%3A+has_one+and+nested+form%2Fattributes" ><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=Tip%3A+has_one+and+nested+form%2Fattributes&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F15%2Ftip-has_one-and-nested-formattributes%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=Tip%3A+has_one+and+nested+form%2Fattributes&amp;u=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F15%2Ftip-has_one-and-nested-formattributes%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=Tip%3A+has_one+and+nested+form%2Fattributes&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F15%2Ftip-has_one-and-nested-formattributes%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=Tip%3A+has_one+and+nested+form%2Fattributes&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F15%2Ftip-has_one-and-nested-formattributes%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=Tip%3A+has_one+and+nested+form%2Fattributes&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F15%2Ftip-has_one-and-nested-formattributes%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%2F08%2F15%2Ftip-has_one-and-nested-formattributes%2F&amp;title=Tip%3A+has_one+and+nested+form%2Fattributes&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%2F08%2F15%2Ftip-has_one-and-nested-formattributes%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%2F08%2F15%2Ftip-has_one-and-nested-formattributes%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%2F08%2F15%2Ftip-has_one-and-nested-formattributes%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>Although, the usage of nested forms with has_many associations is well documented, I found that especially the call <model>.<associated_model>.build that works for has_many associations do not work for has_one associations. For the code to work for has_one associations, use this instead:<br /><model>.build_<associated_model><br />E.g book.build_author where book has_one association to author.</p>
<p>Hope this helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://rails.webintellix.com/2009/08/15/tip-has_one-and-nested-formattributes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to: Edit Rails app online with HerokuGarden</title>
		<link>http://rails.webintellix.com/2009/07/26/how-to-edit-rails-app-online-with-herokugarden/</link>
		<comments>http://rails.webintellix.com/2009/07/26/how-to-edit-rails-app-online-with-herokugarden/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 06:00:00 +0000</pubDate>
		<dc:creator>Rupak Ganguly</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[heroku]]></category>
		<category><![CDATA[herokugarden]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[online editor]]></category>

		<guid isPermaLink="false">http://rails.webintellix.com/index.php/2009/07/how-to-edit-rails-app-online-with-herokugarden/</guid>
		<description><![CDATA[In a previous post, I talked about How to: Deploy application from Git repo to Heroku. Now, let&#8217;s be a little more adventurous and see if we can make changes to code using an online code editor at HerokuGarden. That gives us immense freedom to make changes to our application from anywhere you are as [...]]]></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%2F07%2F26%2Fhow-to-edit-rails-app-online-with-herokugarden%2F&amp;title=How+to%3A+Edit+Rails+app+online+with+HerokuGarden" ><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%2F07%2F26%2Fhow-to-edit-rails-app-online-with-herokugarden%2F&amp;title=How+to%3A+Edit+Rails+app+online+with+HerokuGarden" ><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%2F07%2F26%2Fhow-to-edit-rails-app-online-with-herokugarden%2F&amp;title=How+to%3A+Edit+Rails+app+online+with+HerokuGarden" ><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%2F07%2F26%2Fhow-to-edit-rails-app-online-with-herokugarden%2F&amp;headline=How+to%3A+Edit+Rails+app+online+with+HerokuGarden" ><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=How+to%3A+Edit+Rails+app+online+with+HerokuGarden&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F07%2F26%2Fhow-to-edit-rails-app-online-with-herokugarden%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=How+to%3A+Edit+Rails+app+online+with+HerokuGarden&amp;u=http%3A%2F%2Frails.webintellix.com%2F2009%2F07%2F26%2Fhow-to-edit-rails-app-online-with-herokugarden%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=How+to%3A+Edit+Rails+app+online+with+HerokuGarden&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F07%2F26%2Fhow-to-edit-rails-app-online-with-herokugarden%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=How+to%3A+Edit+Rails+app+online+with+HerokuGarden&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F07%2F26%2Fhow-to-edit-rails-app-online-with-herokugarden%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=How+to%3A+Edit+Rails+app+online+with+HerokuGarden&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F07%2F26%2Fhow-to-edit-rails-app-online-with-herokugarden%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%2F07%2F26%2Fhow-to-edit-rails-app-online-with-herokugarden%2F&amp;title=How+to%3A+Edit+Rails+app+online+with+HerokuGarden&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%2F07%2F26%2Fhow-to-edit-rails-app-online-with-herokugarden%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%2F07%2F26%2Fhow-to-edit-rails-app-online-with-herokugarden%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%2F07%2F26%2Fhow-to-edit-rails-app-online-with-herokugarden%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>In a previous post, I talked about <a href="http://rails.webintellix.com/index.php/2009/07/how-to-deploy-application-from-git-repo-to-heroku/">How to: Deploy application from Git repo to Heroku</a>. Now, let&#8217;s be a little more adventurous and see if we can make changes to code using an online code editor at <a href="http://www.herokugarden.com" target="_blank">HerokuGarden</a>. That gives us immense freedom to make changes to our application from anywhere you are as long as you have an internet connection and a browser. Let’s see step-by-step how that can be done.</p>
<p><span id="more-109"></span></p>
<h5>Install HerokuGarden</h5>
<p>1. First, let&#8217;s install HerokuGarden gem on our local machine</p>
<p>By issuing the following command, we will install the herokugarden gem.</p>
<pre class="csharpcode">Rupak@RG4WIX /c/MyStuff/SvnCode/GitRepo/qparty
$ gem install herokugarden

---&gt; Installing herokugarden v0.4.2
---&gt; Migrate local checkouts <span class="kwrd">using</span> the git:transition command:

     cd myapp/
     herokugarden git:transition

Successfully installed herokugarden-0.4.2
1 gem installed
Installing ri documentation <span class="kwrd">for</span> herokugarden-0.4.2...
Installing RDoc documentation <span class="kwrd">for</span> herokugarden-0.4.2...</pre>
<p><!-- .csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } --></p>
<p>Note that if you had a cloned your Heroku repo to your local machine, you could issue the command as below to move that code to HerokuGarden. So, in our case we get an error as our local machine is not cloned from Heroku repo but cloned from <a href="http://www.unfuddle.com" target="_blank">Unfuddle</a>/<a href="http://www.github.com" target="_blank">GitHub</a> repo.</p>
<pre class="csharpcode">
Rupak@RG4WIX /c/MyStuff/SvnCode/GitRepo/qparty
$ herokugarden git:transition

The current directory does not contain a known Heroku app.</pre>
<p><!-- .csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } --></p>
<p>I personally like my master copy of the application code to be in my choice of git repo provider and not Heroku. The Heroku repo is only used as a temporary repo for deployment purposes.</p>
<p>2. So, let&#8217;s see what herokugarden gem has to offer. The following command lists all the available commands along with their usages.</p>
<pre class="csharpcode">Rupak@RG4WIX /c/MyStuff/SvnCode/GitRepo/qparty
$ herokugarden
=== Heroku Garden Commands
  list - list your apps
  create [&lt;name&gt;] - create a <span class="kwrd">new</span> app
  info &lt;app&gt; - show app info, like web url and git repo
  update &lt;app&gt; - update the app
    --name &lt;newname&gt;
    --<span class="kwrd">public</span> (<span class="kwrd">true</span>|<span class="kwrd">false</span>)
    --mode (production|development)
  sharing &lt;app&gt; - manage collaborators
    --add &lt;email&gt;
    --remove &lt;email&gt;
    --access (edit|view)
  rake &lt;app&gt; &lt;command&gt; - remotely execute a rake command
  destroy &lt;app&gt; - destroy the app permanently
  keys - manage your user's ssh <span class="kwrd">public</span> keys <span class="kwrd">for</span> git access
    --add [&lt;path to keyfile&gt;]
    --remove &lt;keyname or all&gt;

Example story:
  herokugarden create myapp
  git clone git@herokugarden.com:myapp.git
  cd myapp
  (...make edits...)
  git add .
  git commit -m <span class="str">"changes"</span>
  git push
  herokugarden update myapp --<span class="kwrd">public</span> <span class="kwrd">true</span> --mode production</pre>
<p><!-- .csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } --></p>
<h5>Create a new application</h5>
<p>3. Now, let&#8217;s create a new application at <a href="http://www.herokugarden.com" target="_blank">HerokuGarden</a>. Well, I know, we already have an application “QParty” with so much code. Don&#8217;t worry, we just need to create an application at <a href="http://www.herokugarden.com" target="_blank">HerokuGarden</a> so that <a href="http://www.herokugarden.com" target="_blank">HerokuGarden</a> creates a repo for us. We will overwrite all the application code that <a href="http://www.herokugarden.com" target="_blank">HerokuGarden</a> generates by default, with our latest code from our <a href="http://www.unfuddle.com" target="_blank">Unfuddle</a>/<a href="http://www.github.com" target="_blank">GitHub</a> master code repo. I will show you how in a moment.</p>
<pre class="csharpcode">Rupak@RG4WIX /c/MyStuff/SvnCode/GitRepo/qparty
$ herokugarden create qparty
Created http:<span class="rem">//qparty.herokugarden.com/ | git@herokugarden.com:qparty.git </span></pre>
<p><!-- .csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } --></p>
<p>4. Let&#8217;s see if our app is created at <a href="http://www.herokugarden.com" target="_blank">HerokuGarden</a>.</p>
<pre class="csharpcode">Rupak@RG4WIX /c/MyStuff/SvnCode/GitRepo/qparty
$ herokugarden list
Enter your Heroku credentials.
Email: rupakg@gmail.com
Password:
Uploading ssh <span class="kwrd">public</span> key C:\Users\Rupak/.ssh/id_rsa.pub
qparty</pre>
<p><!-- .csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } --></p>
<p>5. Now, recall that to push to a git repo we need to tell git about a remote. We already have two remotes as below:</p>
<p>a) <a href="http://www.unfuddle.com" target="_blank">Unfuddle</a>/<a href="http://www.github.com" target="_blank">GitHub</a> (master code repo)</p>
<p>b) Heroku (deployment repo)</p>
<p>We need to add the repo for <a href="http://www.herokugarden.com" target="_blank">HerokuGarden</a> (online code repo) created automatically in step 3. when we created the app on <a href="http://www.herokugarden.com" target="_blank">HerokuGarden</a>. We will add a remote to this third repo by issuing the following command:</p>
<pre class="csharpcode">Rupak@RG4WIX /c/MyStuff/SvnCode/GitRepo/qparty
$ git remote add herokugarden git@herokugarden.com:qparty.git</pre>
<p><!-- .csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } --></p>
<p>6. Now, that we have a remote setup we can easily push our latest code to the online code repo at <a href="http://www.herokugarden.com" target="_blank">HerokuGarden</a>.  The following commands do exactly that:</p>
<pre class="csharpcode">Rupak@RG4WIX /c/MyStuff/SvnCode/GitRepo/qparty
$ git push -f herokugarden master
Counting objects: 620, done.
Compressing objects: 100% (431/431), done.
Writing objects: 100% (620/620), 359.36 KiB | 55 KiB/s, done.
Total 620 (delta 188), reused 544 (delta 151)
refs/heads/master: 34dcb40a5a6b24d05a9cf9f709ce0236643a79e3 -&gt; 64d9cfb515701f4faee62d703b9
0d195e998416e
HEAD <span class="kwrd">is</span> now at 64d9cfb... <span class="kwrd">fixed</span> title yet again
master -&gt; master (forced update)it
Running migrations...
App restarting...
######################################################################## 100.0%

Deployed to <a href="http://qparty.herokugarden.com">http:<span class="rem">//qparty.herokugarden.com</span>
</a></pre>
<p><!-- .csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } --></p>
<p>7. Let&#8217;s see if our code has been successfully deployed to <a href="http://www.herokugarden.com" target="_blank">HerokuGarden</a>. Go to <a href="http://qparty.herokugarden.com">http://qparty.herokugarden.com</a> and we see our code online. Yeah.</p>
<p><a href="http://webintellix.com/blog_rails/wp-content/uploads/2009/07/herokugarden.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="herokugarden" src="http://webintellix.com/blog_rails/wp-content/uploads/2009/07/herokugarden-thumb.png" border="0" alt="herokugarden" width="565" height="289" /></a></p>
<p>That&#8217;s it. You have connected to your git rep, deployed code to <a href="http://www.herokugarden.com" target="_blank">HerokuGarden</a> online editor. Now, you have the freedom to code anywhere and instantly deploy you changes. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://rails.webintellix.com/2009/07/26/how-to-edit-rails-app-online-with-herokugarden/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to: Deploy application from Git repo to Heroku</title>
		<link>http://rails.webintellix.com/2009/07/25/how-to-deploy-application-from-git-repo-to-heroku/</link>
		<comments>http://rails.webintellix.com/2009/07/25/how-to-deploy-application-from-git-repo-to-heroku/#comments</comments>
		<pubDate>Sat, 25 Jul 2009 22:22:00 +0000</pubDate>
		<dc:creator>Rupak Ganguly</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[heroku]]></category>
		<category><![CDATA[hosting]]></category>

		<guid isPermaLink="false">http://rails.webintellix.com/index.php/2009/07/how-to-deploy-application-from-git-repo-to-heroku/</guid>
		<description><![CDATA[Well, I am sure you have looked for a less expensive (maybe free!) Rails hosting solution. I use a solution that lets me test drive or deploy an idea I want to show to a client or a friend quickly. Anyway, the point of this article is a quick and possibly free deployment solution that [...]]]></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%2F07%2F25%2Fhow-to-deploy-application-from-git-repo-to-heroku%2F&amp;title=How+to%3A+Deploy+application+from+Git+repo+to+Heroku" ><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%2F07%2F25%2Fhow-to-deploy-application-from-git-repo-to-heroku%2F&amp;title=How+to%3A+Deploy+application+from+Git+repo+to+Heroku" ><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%2F07%2F25%2Fhow-to-deploy-application-from-git-repo-to-heroku%2F&amp;title=How+to%3A+Deploy+application+from+Git+repo+to+Heroku" ><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%2F07%2F25%2Fhow-to-deploy-application-from-git-repo-to-heroku%2F&amp;headline=How+to%3A+Deploy+application+from+Git+repo+to+Heroku" ><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=How+to%3A+Deploy+application+from+Git+repo+to+Heroku&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F07%2F25%2Fhow-to-deploy-application-from-git-repo-to-heroku%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=How+to%3A+Deploy+application+from+Git+repo+to+Heroku&amp;u=http%3A%2F%2Frails.webintellix.com%2F2009%2F07%2F25%2Fhow-to-deploy-application-from-git-repo-to-heroku%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=How+to%3A+Deploy+application+from+Git+repo+to+Heroku&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F07%2F25%2Fhow-to-deploy-application-from-git-repo-to-heroku%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=How+to%3A+Deploy+application+from+Git+repo+to+Heroku&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F07%2F25%2Fhow-to-deploy-application-from-git-repo-to-heroku%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=How+to%3A+Deploy+application+from+Git+repo+to+Heroku&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F07%2F25%2Fhow-to-deploy-application-from-git-repo-to-heroku%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%2F07%2F25%2Fhow-to-deploy-application-from-git-repo-to-heroku%2F&amp;title=How+to%3A+Deploy+application+from+Git+repo+to+Heroku&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%2F07%2F25%2Fhow-to-deploy-application-from-git-repo-to-heroku%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%2F07%2F25%2Fhow-to-deploy-application-from-git-repo-to-heroku%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%2F07%2F25%2Fhow-to-deploy-application-from-git-repo-to-heroku%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 am sure you have looked for a less expensive (maybe free!) Rails hosting solution. I use a solution that lets me test drive or deploy an idea I want to show to a client or a friend quickly. Anyway, the point of this article is a quick and possibly free deployment solution that does the job. It focuses on getting the application deployed rather than worry about the setup, database migrations and configuration involved at the hosting provider. I found <a href="http://www.heroku.com" target="_blank">Heroku</a> to fit the bill perfectly. So, here is a run down on how you could try it as well.</p>
<p><span id="more-106"></span></p>
<h4>Beyond the basic Heroku deployment scenario</h4>
<p>I am assuming you can get up and running on the basics of Heroku by following the quick start instructions <a href="http://docs.heroku.com/quickstart" target="_blank">here</a>, but I will be talking about a scenario which has a little twist. My scenario is that I have an existing app. on a remote repo (<a href="http://www.unfuddle.com" target="_blank">Unfuddle</a> in my case or <a href="http://www.github.com" target="_blank">GitHub</a> in your case or any other for that matter). I have my local machine setup with a clone from my remote repo. I have it all worked out and I make changes and push them to my remote repo.</p>
<p>Goal: I want to deploy my application “QParty” to Heroku. It is just a fun little  Follow my step-by-step directions to the goal.</p>
<h5>1. Sync local repo to remote repo</h5>
<p>Check to see if the local git repo is synced with remote master code repo at Unfuddle/GitHub.</p>
<pre class="csharpcode">Rupak@RG4WIX /c/MyStuff/SvnCode/GitRepo/qparty
$ git push unfuddle master
Counting objects: 19, done.
Compressing objects: 100% (13/13), done.
Writing objects: 100% (14/14), 1.21 KiB, done.
Total 14 (delta 8), reused 0 (delta 0)
To git@xxx.unfuddle.com:xxx/qparty.git
   593aae6..64d9cfb  master -&gt; master</pre>
<p><!--.csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } --></p>
<h5>2. Install Heroku</h5>
<p>The following command will install the Heroku gem if you don’t have it already.</p>
<pre class="csharpcode">Rupak@RG4WIX /c/MyStuff/SvnCode/GitRepo/qparty
$ gem install heroku
Successfully installed rest-client-1.0.3
Successfully installed configuration-0.0.5
Successfully installed launchy-0.3.3
Successfully installed json-1.1.7-x86-mswin32
Successfully installed heroku-1.0
5 gems installed
Installing ri documentation <span class="kwrd">for</span> rest-client-1.0.3...
Installing ri documentation <span class="kwrd">for</span> launchy-0.3.3...
Installing ri documentation <span class="kwrd">for</span> json-1.1.7-x86-mswin32...
Installing ri documentation <span class="kwrd">for</span> heroku-1.0...
Installing RDoc documentation <span class="kwrd">for</span> rest-client-1.0.3...
Installing RDoc documentation <span class="kwrd">for</span> launchy-0.3.3...
Installing RDoc documentation <span class="kwrd">for</span> json-1.1.7-x86-mswin32...
Installing RDoc documentation <span class="kwrd">for</span> heroku-1.0...</pre>
<p><!--.csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } --></p>
<h5>3. Create a fresh new app at Heroku</h5>
<pre class="csharpcode">Rupak@RG4WIX /c/MyStuff/SvnCode/GitRepo/qparty
$ heroku create qparty
Enter your Heroku credentials.
Email: xxx@yyy.com
Password:
Uploading ssh <span class="kwrd">public</span> key C:\Users\Rupak/.ssh/id_rsa.pub
Created http:<span class="rem">//qparty.heroku.com/ | git@heroku.com:qparty.git </span>
Git remote heroku added</pre>
<p><!-- .csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } --></p>
<h5>4. Push your code to Heroku and also deploy it</h5>
<pre class="csharpcode">Rupak@RG4WIX /c/MyStuff/SvnCode/GitRepo/qparty
$ git push heroku master
Counting objects: 13, done.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 1.89 KiB, done.
Total 7 (delta 6), reused 0 (delta 0)

-----&gt; Heroku receiving push
-----&gt; Rails app detected
       Compiled slug size <span class="kwrd">is</span> 252K

-----&gt; Launching..... done http:<span class="rem">//qparty.heroku.com deployed to Heroku </span>
   64d9cfb..bfed5c3  master -&gt; master</pre>
<h5>5. Check to see if your app is deployed at Heroku</h5>
<pre class="csharpcode">Rupak@RG4WIX /c/MyStuff/SvnCode/GitRepo/qparty
$ heroku list
favlist
qparty</pre>
<p>Yeah, it is listed. Now, test the app at <a href="http://qparty.heroku.com">http://qparty.heroku.com</a> in your favorite browser.</p>
<p><a href="http://webintellix.com/blog_rails/wp-content/uploads/2009/07/qparty.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="qparty" src="http://webintellix.com/blog_rails/wp-content/uploads/2009/07/qparty-thumb.png" border="0" alt="qparty" width="562" height="242" /></a></p>
<p>By the way, if you like to see some more information about your app at Heroku, do the following:</p>
<pre class="csharpcode">Rupak@RG4WIX /c/MyStuff/SvnCode/GitRepo/qparty
$ heroku info
=== qparty
Web URL:        http:<span class="rem">//qparty.heroku.com/ </span>
Git Repo:       git@heroku.com:qparty.git
Repo size:      484k
Slug size:      248k
Data size:      0K <span class="kwrd">in</span> 0 table
Owner:          xxx@yyy.com</pre>
<p>That&#8217;s it. You have connected to your git repo, uploaded code to Heroku and deployed your application to Heroku in a snap.</p>
]]></content:encoded>
			<wfw:commentRss>http://rails.webintellix.com/2009/07/25/how-to-deploy-application-from-git-repo-to-heroku/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Install SQLite3 on Windows</title>
		<link>http://rails.webintellix.com/2009/05/28/install-sqlite3-on-windows/</link>
		<comments>http://rails.webintellix.com/2009/05/28/install-sqlite3-on-windows/#comments</comments>
		<pubDate>Fri, 29 May 2009 01:48:00 +0000</pubDate>
		<dc:creator>Rupak Ganguly</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[SQLite3]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://rails.webintellix.com/index.php/2009/05/install-sqlite3-on-windows/</guid>
		<description><![CDATA[I found this great screencast that shows how easily you can install SQLite3 on Windows. So, here you go:


Install SQLite3 on Windows

]]></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%2F28%2Finstall-sqlite3-on-windows%2F&amp;title=Install+SQLite3+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%2F28%2Finstall-sqlite3-on-windows%2F&amp;title=Install+SQLite3+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%2F28%2Finstall-sqlite3-on-windows%2F&amp;title=Install+SQLite3+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%2F28%2Finstall-sqlite3-on-windows%2F&amp;headline=Install+SQLite3+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=Install+SQLite3+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F28%2Finstall-sqlite3-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=Install+SQLite3+on+Windows&amp;u=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F28%2Finstall-sqlite3-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=Install+SQLite3+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F28%2Finstall-sqlite3-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=Install+SQLite3+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F28%2Finstall-sqlite3-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=Install+SQLite3+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F28%2Finstall-sqlite3-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%2F28%2Finstall-sqlite3-on-windows%2F&amp;title=Install+SQLite3+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%2F28%2Finstall-sqlite3-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%2F28%2Finstall-sqlite3-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%2F28%2Finstall-sqlite3-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>I found this great screencast that shows how easily you can install SQLite3 on Windows. So, here you go:</p>
<div id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:248b2f73-6850-4f88-8739-cd8de785eb77" class="wlWriterEditableSmartContent" style="margin: 0px auto; padding: 0px; display: block; float: none; width: 800px;">
<div><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="532" height="419" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://blip.tv/play/AYOVe+dq" /><embed type="application/x-shockwave-flash" width="532" height="419" src="http://blip.tv/play/AYOVe+dq"></embed></object></div>
<div style="clear:both;font-size:.8em;">Install SQLite3 on Windows</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://rails.webintellix.com/2009/05/28/install-sqlite3-on-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails resources for newbies</title>
		<link>http://rails.webintellix.com/2009/05/14/ruby-on-rails-resources-for-newbies/</link>
		<comments>http://rails.webintellix.com/2009/05/14/ruby-on-rails-resources-for-newbies/#comments</comments>
		<pubDate>Thu, 14 May 2009 15:04:00 +0000</pubDate>
		<dc:creator>Rupak Ganguly</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Books]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[newbies]]></category>
		<category><![CDATA[resources]]></category>

		<guid isPermaLink="false">http://rails.webintellix.com/?p=81</guid>
		<description><![CDATA[Beginner Books

Agile Web Development with Rails Edition 3
Build Your Own Ruby on Rails Web Applications by Patrick Lenz

Advanced Books

Advanced Rails Recipes: 84 New Ways to Build Stunning Rails Apps, by Mike Clark
The Rails Way
The Ruby Way by Hal Fulton

Free eBooks
http://freecomputerbooks.com/langRubyBooks.html
But, I would also suggest you check out these other free resources which keeps up to [...]]]></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%2F14%2Fruby-on-rails-resources-for-newbies%2F&amp;title=Ruby+on+Rails+resources+for+newbies" ><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%2F14%2Fruby-on-rails-resources-for-newbies%2F&amp;title=Ruby+on+Rails+resources+for+newbies" ><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%2F14%2Fruby-on-rails-resources-for-newbies%2F&amp;title=Ruby+on+Rails+resources+for+newbies" ><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%2F14%2Fruby-on-rails-resources-for-newbies%2F&amp;headline=Ruby+on+Rails+resources+for+newbies" ><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=Ruby+on+Rails+resources+for+newbies&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F14%2Fruby-on-rails-resources-for-newbies%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=Ruby+on+Rails+resources+for+newbies&amp;u=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F14%2Fruby-on-rails-resources-for-newbies%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=Ruby+on+Rails+resources+for+newbies&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F14%2Fruby-on-rails-resources-for-newbies%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=Ruby+on+Rails+resources+for+newbies&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F14%2Fruby-on-rails-resources-for-newbies%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=Ruby+on+Rails+resources+for+newbies&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F14%2Fruby-on-rails-resources-for-newbies%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%2F14%2Fruby-on-rails-resources-for-newbies%2F&amp;title=Ruby+on+Rails+resources+for+newbies&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%2F14%2Fruby-on-rails-resources-for-newbies%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%2F14%2Fruby-on-rails-resources-for-newbies%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%2F14%2Fruby-on-rails-resources-for-newbies%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><strong><span style="font-size: medium;">Beginner Books</span></strong></p>
<ul>
<li>Agile Web Development with Rails Edition 3</li>
<li>Build Your Own Ruby on Rails Web Applications by Patrick Lenz</li>
</ul>
<p><strong><span style="font-size: medium;">Advanced Books</span></strong></p>
<ul>
<li>Advanced Rails Recipes: 84 New Ways to Build Stunning Rails Apps, by Mike Clark</li>
<li>The Rails Way</li>
<li>The Ruby Way by Hal Fulton</li>
</ul>
<p><strong>Free eBooks</strong></p>
<p><a title="Free eBooks" href="http://freecomputerbooks.com/langRubyBooks.html" target="_blank">http://freecomputerbooks.com/langRubyBooks.html</a></p>
<p>But, I would also suggest you check out these other free resources which keeps up to date with the technology.</p>
<p><span id="more-81"></span></p>
<p><strong><span style="font-size: medium;">Screencasts and Podcasts</span></strong></p>
<ul>
<li>Railscasts by Ryan Bates &#8211; <a href="http://www.railscasts.com">http://www.railscasts.com</a></li>
<li>Learning Rails &#8211; <a href="http://www.buildingwebapps.com/podcasts">http://www.buildingwebapps.com/podcasts</a></li>
<li>Peepcode Screencasts – <a href="http://www.peepcode.com">http://www.peepcode.com</a></li>
</ul>
<p><strong><span style="font-size: medium;">Learning Sites</span></strong></p>
<p>Ruby Learning Hub &#8211; <a href="http://www.rubylearning.org/class/">http://www.rubylearning.org/class/</a> by Satish Talim. They have a lot of free courses on various subjects but one should do the Ruby course first.</p>
<p><strong><span style="font-size: medium;">Magazines</span></strong></p>
<p>Rails Magazine &#8211; <a href="http://www.railsmagazine.com">www.railsmagazine.com</a></p>
<p><strong><span style="font-size: medium;">Top Blogs</span></strong></p>
<ul>
<li><strong><a href="http://www.loudthinking.com/">http://www.loudthinking.com/</a></strong> by <a href="http://www.loudthinking.com/about.html">David Heinemeier Hansson</a> (creator of Rails)</li>
<li><strong><a href="http://www.rubyinside.com/">http://www.rubyinside.com/</a></strong> by <a href="http://www.petercooper.co.uk/">Peter Cooper</a>.</li>
<li><strong><a href="http://mephistoblog.com/">http://mephistoblog.com/</a></strong> by <a href="http://weblog.techno-weenie.net/">Rick Olson</a> and <a href="http://encytemedia.com/">Justin Palmer</a></li>
<li><a href="http://encytemedia.com/"><strong></strong></a><strong><a href="http://hivelogic.com/">http://hivelogic.com/</a></strong> by <a href="http://hivelogic.com/about/dan">Dan Benjamin</a></li>
<li><a href="http://hivelogic.com/about/dan"><strong></strong></a><strong><a href="http://redhanded.hobix.com/">http://redhanded.hobix.com/</a></strong> by <a href="http://whytheluckystiff.net/">_why the lucky stiff</a></li>
<li><strong><a href="http://nubyonrails.com/">http://nubyonrails.com/</a></strong> by <a href="http://geoffreygrosenbach.com/">Geoffrey Grosenbach</a></li>
<li><strong><a href="http://errtheblog.com/">http://errtheblog.com</a></strong> by <a href="http://www.pjhyett.com/">PJ Hyett</a> and <a href="http://ozmm.org/">Chris Wanstrath</a></li>
<li><strong><a href="http://www.slash7.com/">http://www.slash7.com</a></strong> by <a href="http://slash7.com/about/">Amy Hoy</a></li>
<li><strong><a href="http://weblog.rubyonrails.org/">http://weblog.rubyonrails.org</a></strong> by the Rails core team</li>
<li><strong><a href="http://weblog.jamisbuck.org/">http://weblog.jamisbuck.org/</a></strong> by <a href="http://weblog.jamisbuck.org/">Jamis Buck</a></li>
<li><a href="http://www.railsenvy.com/">http://www.railsenvy.com/</a> by Gregg Pollack</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://rails.webintellix.com/2009/05/14/ruby-on-rails-resources-for-newbies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
