<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>firstruby &#187; Blogroll</title>
	<atom:link href="http://firstruby.wordpress.com/category/blogroll/feed/" rel="self" type="application/rss+xml" />
	<link>http://firstruby.wordpress.com</link>
	<description>Master ruby with us</description>
	<lastBuildDate>Wed, 30 Dec 2009 11:05:46 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='firstruby.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/eb6885b93aade6dc82939c09ff8b3819?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>firstruby &#187; Blogroll</title>
		<link>http://firstruby.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://firstruby.wordpress.com/osd.xml" title="firstruby" />
		<item>
		<title>GIT with branches</title>
		<link>http://firstruby.wordpress.com/2008/10/31/git-with-branches/</link>
		<comments>http://firstruby.wordpress.com/2008/10/31/git-with-branches/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 10:28:21 +0000</pubDate>
		<dc:creator>firstruby</dc:creator>
				<category><![CDATA[Blogroll]]></category>
		<category><![CDATA[Useful Links]]></category>
		<category><![CDATA[firstruby]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://firstruby.wordpress.com/?p=53</guid>
		<description><![CDATA[In SVN,  we can create standard repository  structure like,

- trunk       &#8211; current code
- branches &#8211; versions
- tags


such as we can store the code in different branches  in GIT,

git push origin demo1.0

where demo1.0 &#8211; name of the branch
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&blog=520515&post=53&subd=firstruby&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div><span style="font-family:Arial;font-size:x-small;">In SVN,  we can create standard repository  structure like,</span></div>
<div></div>
<div><span style="font-family:Arial;font-size:x-small;">- trunk       &#8211; current code</span></div>
<div><span style="font-family:Arial;font-size:x-small;">- branches &#8211; versions</span></div>
<div><span style="font-family:Arial;font-size:x-small;">- tags</span></div>
<div></div>
<div></div>
<div><span style="font-family:Arial;font-size:x-small;">such as we can store the code in different branches  in GIT,</span></div>
<div></div>
<div><span style="font-family:Arial;font-size:x-small;">git push origin demo1.0</span></div>
<div></div>
<div><span style="font-family:Arial;font-size:x-small;">where demo1.0 &#8211; name of the branch</span></div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/firstruby.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/firstruby.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/firstruby.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/firstruby.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/firstruby.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/firstruby.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/firstruby.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/firstruby.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/firstruby.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/firstruby.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&blog=520515&post=53&subd=firstruby&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://firstruby.wordpress.com/2008/10/31/git-with-branches/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00e5161c5b9908a6e81639e34a22cf2b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">firstruby</media:title>
		</media:content>
	</item>
		<item>
		<title>Ruby Gems</title>
		<link>http://firstruby.wordpress.com/2007/02/04/ruby-gems/</link>
		<comments>http://firstruby.wordpress.com/2007/02/04/ruby-gems/#comments</comments>
		<pubDate>Sun, 04 Feb 2007 09:22:16 +0000</pubDate>
		<dc:creator>firstruby</dc:creator>
				<category><![CDATA[Blogroll]]></category>
		<category><![CDATA[Useful Links]]></category>
		<category><![CDATA[firstruby]]></category>

		<guid isPermaLink="false">http://firstruby.wordpress.com/2007/02/04/ruby-gems/</guid>
		<description><![CDATA[Using Ruby Gems
You may want to add functionality to your application using Ruby Gems. A gem is a packaged Ruby application or library. A great introduction to Ruby Gems can be found here. Basically, Ruby Gems keep you from having to reinvent the wheel, by providing you with modular pieces of code that can be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&blog=520515&post=19&subd=firstruby&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h3><strong>Using Ruby Gems</strong></h3>
<p><font size="3"><font face="Times New Roman, serif">You may want to add functionality to your application using Ruby Gems. </font></font>A gem is a packaged Ruby application or library. A great introduction to Ruby Gems can be found <a href="http://www.rubygems.org/">here</a>. Basically, Ruby Gems keep you from having to reinvent the wheel, by providing you with modular pieces of code that can be accessed from within your application&#8217;s code.</p>
<p>By default, some gems will come pre-installed with your hosting plan. Generally these are Rails-relevant gems (ActiveRecord, ActionMailer, etc.). To see a list of installed gems at any time, type “gem list &#8211;local” from an SSH window.</p>
<p>To install new gems, issue the command “gem install &lt;gem-name&gt;” (where &lt;gem-name&gt; is the name of the gem you wish to install). This command will first search your local machine for the specified gem, and if not found, will attempt to automatically download the gem from <a href="http://rubyforge.org/">RubyForge</a>, an online gem repository. Check <a href="http://www.rubyforge.com/">RubyForge</a> for a complete listing of available gems or check the link here for a more condensed listing. More installation options can be found by typing “gem install &#8211;help”.</p>
<p>By default, gems will be installed to &#8216;/usr/lib/ruby/gems/1.8/gems/&#8217;.</p>
<h3><strong>Freezing Ruby Gems</strong></h3>
<p><font face="Times New Roman, serif"><font size="3">Whenever a new gem version appears on the host, your Rails application will attempt to automatically upgrade to that version. This is convenient when in development, but after moving to production, it can cause things to break unexpectedly. For obvious reasons, you don&#8217;t necessarily want your application being updated after it has been published. To prevent gems from updating, change directories to your application root, and issue the command “rake freeze_gems”. This copies the gems from /usr/lib/ruby/gems/1.8/gems/ (the default location) to &lt;your-app-name&gt;/vendor/ and keeps them from being automatically updated.</font></font><font face="Times New Roman, serif"><font size="3"><font face="Times New Roman, serif"><font size="3">There is one caveat with the “rake freeze_gems” command. It will only freeze gems that are Rails-relevant. If running this command doesn&#8217;t freeze the gem(s) you want it to, (i.e. they are not found in &lt;app-name&gt;/vendor/) you will need to use the solution found <a href="http://nubyonrails.com/articles/2005/12/22/freeze-other-gems-to-rails-lib-directory">here</a>. </font></font><br />
<font size="3"><font face="Times New Roman, serif">This section is intended only to give a brief introduction to concept of freezing gems. If this is something you are interested in doing, it is highly recommended that you read up on the documentation at </font></font><a href="http://www.rubygems.org/"><font size="3"><font face="Times New Roman, serif">http://www.rubygems.org</font></font></a><font size="3"><font face="Times New Roman, serif"> for more information.</font></font></font></font></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/firstruby.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/firstruby.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/firstruby.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/firstruby.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/firstruby.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/firstruby.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/firstruby.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/firstruby.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/firstruby.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/firstruby.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/firstruby.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/firstruby.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&blog=520515&post=19&subd=firstruby&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://firstruby.wordpress.com/2007/02/04/ruby-gems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00e5161c5b9908a6e81639e34a22cf2b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">firstruby</media:title>
		</media:content>
	</item>
		<item>
		<title>Mongrel_server</title>
		<link>http://firstruby.wordpress.com/2007/01/05/mongrel_server/</link>
		<comments>http://firstruby.wordpress.com/2007/01/05/mongrel_server/#comments</comments>
		<pubDate>Fri, 05 Jan 2007 06:56:59 +0000</pubDate>
		<dc:creator>firstruby</dc:creator>
				<category><![CDATA[Blogroll]]></category>
		<category><![CDATA[Useful Links]]></category>
		<category><![CDATA[firstruby]]></category>

		<guid isPermaLink="false">http://firstruby.wordpress.com/2007/01/05/mongrel_server/</guid>
		<description><![CDATA[Getting Started
The easiest way to get started with Mongrel is to install it via RubyGems and then run a Ruby on Rails application. You can do this easily:
               gem install win32-service (pick the most recent one)
               gem install mongrel (pick the win32 pre-built)
Win32 Support
Win32 is fully supported by Mongrel with services and CPU affinity support.
The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&blog=520515&post=16&subd=firstruby&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h2>Getting Started</h2>
<p>The easiest way to get started with Mongrel is to install it via RubyGems and then run a Ruby on Rails application. You can do this easily:</p>
<p><em>               gem install win32-service</em> (pick the most recent one)<br />
               <em>gem install mongrel </em>(pick the win32 pre-built)</p>
<h2>Win32 Support</h2>
<p>Win32 is fully supported by Mongrel with services and <span class="caps">CPU</span> affinity support.</p>
<p>The main thing with Win32 support is that there is no <strong>fork</strong> <span class="caps">API</span> for Ruby, so you have to use the services features to get persistent servers running. You can get this services support by doing:</p>
<p>              <em>gem install mongrel_service</em></p>
<p>And then just run <code>mongrel_rails</code> to see what <code>services::</code> commands are available.</p>
<h2>Running The Service</h2>
<p>After you do the gem install, find a Rails application you want to run and do:</p>
<pre><code>$ mongrel_rails service::install -N myapp <a href="///">\\ </a>
       -c c:mypathtomyapp -p 4000 -e production
       $ mongrel_rails service::start -N myapp</code></pre>
<p>Now hit the port and poof, works (or should).</p>
<p>The application will stop if you use:</p>
<pre><code>$ mongrel_rails service::stop -N myapp</code></pre>
<p><code>NOTE: Stop reports an exception but does stop the service.</code></p>
<p>Now the really great thing is that you can just do all this from the Services control panel like your Rails application is a regular Windows service.</p>
<p>Even works in development mode, which is pretty nice.</p>
<h2>Making you Service autostart with Windows</h2>
<p>By default, the new Mongrel service get installed to be run <em>manually</em>, using Mongrel’s commands or the Service Manager. You could tweak it to start automatically when Windows start, just use the Service Control commandline tool:</p>
<pre><code>$ sc config myapp start=auto</code></pre>
<p>Also, you can configure the services that are neede to make it work, like database support:</p>
<pre><code>$ sc config myapp start=auto dependency=MySql</code></pre>
<pre><code></code> </pre>
<h2><span class="caps">CPU</span> Affinity</h2>
<p>Mongrel’s win32 support actually is able to set the <span class="caps">CPU</span> affinity of a running Mongrel service. This is pretty neat since it means if you’re running a fancy <span class="caps">SMP</span> machine or a dual core that pretends to be <span class="caps">SMP</span>, then you can force Mongrel onto one of them and get a nice little boost.</p>
<p>It’s pretty easy to use, just pass the <strong>-u or—cpu</strong> option to the <strong>install</strong> command and give a <span class="caps">CPU</span> of 1-X. That means if you have 4 CPUs and you want Mongrel on #4 then do:</p>
<pre><code>$ mongrel_rails service::install -N myapp
       -c c:mypathtomyapp -p 4000 -e production -u 4</code></pre>
<p>Pretty much the same command, just one more option and you’re done.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/firstruby.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/firstruby.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/firstruby.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/firstruby.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/firstruby.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/firstruby.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/firstruby.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/firstruby.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/firstruby.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/firstruby.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/firstruby.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/firstruby.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&blog=520515&post=16&subd=firstruby&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://firstruby.wordpress.com/2007/01/05/mongrel_server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00e5161c5b9908a6e81639e34a22cf2b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">firstruby</media:title>
		</media:content>
	</item>
		<item>
		<title>Welcome</title>
		<link>http://firstruby.wordpress.com/2006/12/13/welcome/</link>
		<comments>http://firstruby.wordpress.com/2006/12/13/welcome/#comments</comments>
		<pubDate>Wed, 13 Dec 2006 17:27:50 +0000</pubDate>
		<dc:creator>firstruby</dc:creator>
				<category><![CDATA[Blogroll]]></category>
		<category><![CDATA[Useful Links]]></category>
		<category><![CDATA[firstruby]]></category>

		<guid isPermaLink="false">http://firstruby.wordpress.com/2006/12/13/welcome/</guid>
		<description><![CDATA[Welcome to learn Ruby,
Now you can download &#8216;Radrails (version 0.7.2)&#8217; editor for developing Ruby On Rails application for Windows, Mac OSX and Linux at

Download Radrails 0.7.2
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&blog=520515&post=7&subd=firstruby&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Welcome to learn Ruby,</p>
<p>Now you can <strong>download &#8216;Radrails (version 0.7.2)&#8217;</strong> editor for developing Ruby On Rails application for Windows, Mac OSX and Linux at</p>
<p><a href="http://sourceforge.net/project/showfiles.php?group_id=155448&amp;package_id=173164&amp;release_id=469210"><br />
Download Radrails 0.7.2</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/firstruby.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/firstruby.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/firstruby.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/firstruby.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/firstruby.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/firstruby.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/firstruby.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/firstruby.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/firstruby.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/firstruby.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/firstruby.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/firstruby.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&blog=520515&post=7&subd=firstruby&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://firstruby.wordpress.com/2006/12/13/welcome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00e5161c5b9908a6e81639e34a22cf2b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">firstruby</media:title>
		</media:content>
	</item>
	</channel>
</rss>