<?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; Tutorials</title>
	<atom:link href="http://rails.webintellix.com/category/tutorials/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>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>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>
		<item>
		<title>Create a single page web application using SproutCore &#8211; Part I</title>
		<link>http://rails.webintellix.com/2009/05/09/create-a-single-page-web-application-using-sproutcore-part-i/</link>
		<comments>http://rails.webintellix.com/2009/05/09/create-a-single-page-web-application-using-sproutcore-part-i/#comments</comments>
		<pubDate>Sat, 09 May 2009 06:31:00 +0000</pubDate>
		<dc:creator>Rupak Ganguly</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[SproutCore]]></category>
		<category><![CDATA[Web Frameworks]]></category>

		<guid isPermaLink="false">http://rails.webintellix.com/index.php/2009/05/create-a-single-page-web-application-using-sproutcore-part-i/</guid>
		<description><![CDATA[There has been such an uproar of web frameworks nowadays. It has challenged the minds and spurred creativity. Such a framework is SproutCore – an MVC web app framework for developing apps in JavaScript that run inside a web browser. Go on and read about it on the SproutCore Wiki.
So, why did I get excited [...]]]></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%2F09%2Fcreate-a-single-page-web-application-using-sproutcore-part-i%2F&amp;title=Create+a+single+page+web+application+using+SproutCore+%26%238211%3B+Part+I" ><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%2F09%2Fcreate-a-single-page-web-application-using-sproutcore-part-i%2F&amp;title=Create+a+single+page+web+application+using+SproutCore+%26%238211%3B+Part+I" ><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%2F09%2Fcreate-a-single-page-web-application-using-sproutcore-part-i%2F&amp;title=Create+a+single+page+web+application+using+SproutCore+%26%238211%3B+Part+I" ><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%2F09%2Fcreate-a-single-page-web-application-using-sproutcore-part-i%2F&amp;headline=Create+a+single+page+web+application+using+SproutCore+%26%238211%3B+Part+I" ><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=Create+a+single+page+web+application+using+SproutCore+%26%238211%3B+Part+I&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F09%2Fcreate-a-single-page-web-application-using-sproutcore-part-i%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=Create+a+single+page+web+application+using+SproutCore+%26%238211%3B+Part+I&amp;u=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F09%2Fcreate-a-single-page-web-application-using-sproutcore-part-i%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=Create+a+single+page+web+application+using+SproutCore+%26%238211%3B+Part+I&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F09%2Fcreate-a-single-page-web-application-using-sproutcore-part-i%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=Create+a+single+page+web+application+using+SproutCore+%26%238211%3B+Part+I&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F09%2Fcreate-a-single-page-web-application-using-sproutcore-part-i%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=Create+a+single+page+web+application+using+SproutCore+%26%238211%3B+Part+I&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F05%2F09%2Fcreate-a-single-page-web-application-using-sproutcore-part-i%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%2F09%2Fcreate-a-single-page-web-application-using-sproutcore-part-i%2F&amp;title=Create+a+single+page+web+application+using+SproutCore+%26%238211%3B+Part+I&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%2F09%2Fcreate-a-single-page-web-application-using-sproutcore-part-i%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%2F09%2Fcreate-a-single-page-web-application-using-sproutcore-part-i%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%2F09%2Fcreate-a-single-page-web-application-using-sproutcore-part-i%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>There has been such an uproar of web frameworks nowadays. It has challenged the minds and spurred creativity. Such a framework is <a href="http://www.sproutcore.com" target="_blank">SproutCore</a> – an MVC web app framework for developing apps in JavaScript that run inside a web browser. Go on and read about it on the <a href="http://wiki.github.com/sproutit/sproutcore" target="_blank">SproutCore Wiki</a>.</p>
<p>So, why did I get excited about a JS-based web framework? Well, one it is a web framework and I am in the <a href="http://www.webintellix.com" target="_blank">business</a> of building web applications. Secondly, the creation of a SproutCore application has a feel of creating Rails applications. You will see what I mean in a minute.</p>
<p><span id="more-55"></span></p>
<p>Next, I will create a small demo application that will demonstrate the characteristics of a SproutCore application. The demo application will be build in a series of posts, so do come back for the whole series. Now, let’s get started.</p>
<h4>Part I – Getting Started</h4>
<p><strong>Step 1</strong>: <strong>Install SproutCore</strong>: I am on Windows Vista and I installed SproutCore using the following command:</p>
<pre class="csharpcode">$ gem install sproutcore</pre>
<p>You can look at the <a href="http://www.sproutcore.com/download/" target="_blank">SproutCore download page</a> to find instructions for your OS.</p>
<p>You can make sure you got SproutCore installed properly by checking it’s version:</p>
<pre class="csharpcode">$ sproutcore -v
sproutcore 0.9.23</pre>
<p>You can get a different version number based on when did this exercise. That takes care of the install.</p>
<p><strong>Step 2</strong>: <strong>Create our demo application</strong>: We will create a Favorites application, which is nothing but a simple list of favorites (nothing as fancy as del.icio.us), but kind of the same concept. So, we go ahead and run the following command:</p>
<pre class="csharpcode">$ sc-init scfavlist
      create
      create  clients
      create  frameworks
      create  lib
      create  public
      create  log
      create  README
      create  sc-config
  dependency  client
      exists    clients
      create    clients/scfavlist
      create    clients/scfavlist/english.lproj
      create    clients/scfavlist/core.js
      create    clients/scfavlist/english.lproj/body.css
      create    clients/scfavlist/english.lproj/body.rhtml
      create    clients/scfavlist/english.lproj/strings.js
      create    clients/scfavlist/main.js
      readme    ../README
Your new SproutCore client application has been created.  To access your application, just
 start sc-server and visit your client name in the web browser.

If you want to change the deployment settings for your application edit the sc-config file
 to get started.</pre>
<p>First thing to note is the similarity to creating a Rails application. I told you so. Gives me a warm feeling. The application generator creates a basic app structure for us. Not only that, SproutCore makes it even better as the application can be run immediately, by running the following command:</p>
<pre class="csharpcode">$ cd scfavlist
$ sc-server

Running SproutCore Build Tools v0.9.23Welcome to SproutCoreLoading SproutCore bundles in c:/MyStuff/SvnCode/GitRepo/scfavlistmerb : worker (port 4020) ~ Starting Mongrel at port 4020merb : worker (port 4020) ~ Successfully bound to port 4020</pre>
<p>And, voila, you should be good to go. <img src='http://rails.webintellix.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  If you see the above screen, skip the next section and jump to Step 3, otherwise read on…</p>
<p>But, hold on. <img src='http://rails.webintellix.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> . I did not have a smooth experience as above. Not that you will have a similar issue, but if you do, I have a solution. First, let’s retrace back and see what problem I got:</p>
<pre class="csharpcode">$ cd scfavlist
$ sc-server
c:/ruby/lib/ruby/gems/1.8/gems/extlib-0.9.11/lib/extlib/time.rb:26:<span class="kwrd">in</span> `remove_method<span class="str">': met
hod `to_time'</span> not defined <span class="kwrd">in</span> Time (NameError)
        from c:/ruby/lib/ruby/gems/1.8/gems/extlib-0.9.11/lib/extlib/time.rb:26
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:<span class="kwrd">in</span> `gem_original
_require<span class="str">'
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'</span>
        from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/depende
ncies.rb:156:<span class="kwrd">in</span> `require<span class="str">'
        from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/depende
ncies.rb:521:in `new_constants_in'</span>
        from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/depende
ncies.rb:156:<span class="kwrd">in</span> `require<span class="str">'
        from c:/ruby/lib/ruby/gems/1.8/gems/extlib-0.9.11/lib/extlib.rb:22
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original
_require'</span>
         ... 9 levels...
        from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/depende
ncies.rb:156:<span class="kwrd">in</span> `require<span class="str">'
        from c:/ruby/lib/ruby/gems/1.8/gems/sproutcore-0.9.23/bin/sc-server:13
        from c:/ruby/bin/sc-server:19:in `load'</span>
        from c:/ruby/bin/sc-server:19</pre>
<p>Wow! I did not expect that. Looking carefully it was evident that something was wrong with extlib-0.9.11 gem. A quick google search revealed that <a href="http://groups.google.com/group/sproutcore/browse_thread/thread/f4dfe044e9ac80c8?pli=1" target="_blank">downgrading the extlib gem to 0.9.10</a> would make SproutCore happy. So, here is what I did next:</p>
<pre class="csharpcode">$ gem uninstall extlib

You have requested to uninstall the gem:
        extlib-0.9.11
merb-core-1.0.11 depends on [extlib (&gt;= 0.9.8)]
rhodes-1.0.2 depends on [extlib (&gt;= 0)]
templater-0.5.0 depends on [extlib (&gt;= 0.9.5)]
rhodes-build-1.0.2 depends on [extlib (&gt;= 0)]
rhodes-generator-1.0.2 depends on [extlib (&gt;= 0)]
rhodes-framework-1.0.2 depends on [extlib (&gt;= 0)]
If you remove <span class="kwrd">this</span> gems, one or more dependencies will not be met.
Continue with Uninstall? [Yn]  y
Successfully uninstalled extlib-0.9.11</pre>
<p>First I uninstalled the extlib gem version 0.9.11. Usual warnings told be what all other dependencies would be affected. None was explicitly dependent on the 0.9.11 version, so I said yes to uninstall. Now, to install the 0.9.10 version, I did the following:</p>
<pre class="csharpcode">$ gem install --version <span class="str">'0.9.10'</span> extlib -V
GET 200 OK: http:<span class="rem">//gems.rubyforge.org/specs.4.8.gz</span>
GET 200 OK: http:<span class="rem">//gems.github.com/specs.4.8.gz</span>
GET 200 OK: http:<span class="rem">//gems.rubyforge.org/quick/Marshal.4.8/extlib-0.9.10.gemspec.rz</span>
Installing gem extlib-0.9.10
Downloading gem extlib-0.9.10.gem
GET 302 Found: http:<span class="rem">//gems.rubyforge.org/gems/extlib-0.9.10.gem</span>
GET 200 OK: http:<span class="rem">//rubyforge.iasi.roedu.net/gems/extlib-0.9.10.gem</span>
c:/ruby/lib/ruby/gems/1.8/gems/extlib-0.9.10/LICENSE
c:/ruby/lib/ruby/gems/1.8/gems/extlib-0.9.10/README
c:/ruby/lib/ruby/gems/1.8/gems/extlib-0.9.10/Rakefile
c:/ruby/lib/ruby/gems/1.8/gems/extlib-0.9.10/History.txt

****** removed <span class="kwrd">for</span> sake of brevity ******

c:/ruby/lib/ruby/gems/1.8/gems/extlib-0.9.10/spec/virtual_file_spec.rb
Successfully installed extlib-0.9.10
1 gem installed</pre>
<p>Now, with fingers crossed, I re-ran the sc-server command as below:</p>
<pre class="csharpcode">$ sc-server
Running SproutCore Build Tools v0.9.23
Welcome to SproutCore
Loading SproutCore bundles <span class="kwrd">in</span> c:/MyStuff/SvnCode/GitRepo/scfavlist
merb : worker (port 4020) ~ Starting Mongrel at port 4020
merb : worker (port 4020) ~ Successfully bound to port 4020</pre>
<p>Now, it worked and I could see the server running. Again note the similarity between this command and the Rails server command i.e. script/server. The sc-server command also takes parameters similar to mongrel!</p>
<p><strong>Step 3</strong>: <strong>Run our application</strong>: Now, open up a Firefox or Safari web browser (I know it doesn&#8217;t work for IE yet!) and type in the url <a href="http://localhost:4020/scfavlist">http://localhost:4020/scfavlist</a>. Boom, you should see the basic SproutCore application up and running in its glory. Instant gratification. Love it.</p>
<p><a href="http://webintellix.com/blog_rails/wp-content/uploads/2009/05/sproutcore-1.png"><img style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" title="sproutcore_1" src="http://webintellix.com/blog_rails/wp-content/uploads/2009/05/sproutcore-1-thumb.png" border="0" alt="sproutcore_1" width="577" height="539" /></a></p>
<p>The articles next in this series are:</p>
<h4>Part II – Writing the application logic</h4>
<h4>Part III – Building the application and deploying</h4>
<div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:d40bd36a-f0c5-4efa-ae6f-10612ece6097" class="wlWriterEditableSmartContent" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati Tags: <a rel="tag" href="http://technorati.com/tags/SproutCore">SproutCore</a>,<a rel="tag" href="http://technorati.com/tags/Web+Frameworks">Web Frameworks</a>,<a rel="tag" href="http://technorati.com/tags/Javascript">Javascript</a></div>
]]></content:encoded>
			<wfw:commentRss>http://rails.webintellix.com/2009/05/09/create-a-single-page-web-application-using-sproutcore-part-i/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing gems behind proxy servers</title>
		<link>http://rails.webintellix.com/2008/03/17/installing-gems-behind-proxy-servers/</link>
		<comments>http://rails.webintellix.com/2008/03/17/installing-gems-behind-proxy-servers/#comments</comments>
		<pubDate>Mon, 17 Mar 2008 19:17:29 +0000</pubDate>
		<dc:creator>Rupak Ganguly</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[proxy]]></category>

		<guid isPermaLink="false">http://rupakg.wordpress.com/2008/03/17/installing-gems-behind-proxy-servers/</guid>
		<description><![CDATA[It is well documented as part of gem help that using the following common options:
-p, &#8211;[no-]http-proxy [URL]      Use HTTP proxy for remote operations
will allow gem to use the proxy server for remote operations. While this has worked for me before, but recently for some reason I have been getting errors. So, the other alternative 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%2F2008%2F03%2F17%2Finstalling-gems-behind-proxy-servers%2F&amp;title=Installing+gems+behind+proxy+servers" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F17%2Finstalling-gems-behind-proxy-servers%2F&amp;title=Installing+gems+behind+proxy+servers" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F17%2Finstalling-gems-behind-proxy-servers%2F&amp;title=Installing+gems+behind+proxy+servers" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F17%2Finstalling-gems-behind-proxy-servers%2F&amp;headline=Installing+gems+behind+proxy+servers" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Installing+gems+behind+proxy+servers&amp;url=http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F17%2Finstalling-gems-behind-proxy-servers%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Installing+gems+behind+proxy+servers&amp;u=http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F17%2Finstalling-gems-behind-proxy-servers%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Installing+gems+behind+proxy+servers&amp;url=http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F17%2Finstalling-gems-behind-proxy-servers%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Installing+gems+behind+proxy+servers&amp;url=http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F17%2Finstalling-gems-behind-proxy-servers%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Installing+gems+behind+proxy+servers&amp;url=http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F17%2Finstalling-gems-behind-proxy-servers%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F17%2Finstalling-gems-behind-proxy-servers%2F&amp;title=Installing+gems+behind+proxy+servers&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F17%2Finstalling-gems-behind-proxy-servers%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F17%2Finstalling-gems-behind-proxy-servers%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Frails.webintellix.com%2F2008%2F03%2F17%2Finstalling-gems-behind-proxy-servers%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>It is well documented as part of gem help that using the following common options:</p>
<p><span style="font-size: x-small; color: #99cc00;">-p, &#8211;[no-]http-proxy [URL]      Use HTTP proxy for remote operations</span></p>
<p>will allow gem to use the proxy server for remote operations. While this has worked for me before, but recently for some reason I have been getting errors. So, the other alternative that works for me is to set the environment variable HTTP_PROXY as such:</p>
<p><span style="font-size: x-small; color: #99cc00;">set HTTP_PROXY=http://[proxy url]:[port]</span></p>
<p>Actually this option is convenient. I have set the above environment variable permanently for the machines that I use at work which are behind proxy servers.</p>
<div class="wlWriterSmartContent" style="display:inline;margin:0;padding:0;"><a rel="tag" href="http://technorati.com/tags/installation"></a></div>
]]></content:encoded>
			<wfw:commentRss>http://rails.webintellix.com/2008/03/17/installing-gems-behind-proxy-servers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
