<?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>Ladysign Dev Blog &#187; learn ruby on rails</title>
	<atom:link href="http://www.ladysign-apps.com/blog/tag/learn-ruby-on-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ladysign-apps.com/blog</link>
	<description>Girls can code.</description>
	<lastBuildDate>Mon, 12 Dec 2011 16:58:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Start with Ruby on Rails</title>
		<link>http://www.ladysign-apps.com/blog/code/ruby-on-rails/start-with-ruby-on-rails/</link>
		<comments>http://www.ladysign-apps.com/blog/code/ruby-on-rails/start-with-ruby-on-rails/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 12:55:46 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[learn ruby]]></category>
		<category><![CDATA[learn ruby on rails]]></category>
		<category><![CDATA[quickstart]]></category>
		<category><![CDATA[rb]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[start]]></category>

		<guid isPermaLink="false">http://ladysign-apps.com/blog/?p=384</guid>
		<description><![CDATA[<p><strong>Difficulty:</strong> 2 out of 5 stars</p>
<p>Let&#8217;s start programming with Ruby. Cause what I&#8217;ve read about it, it should be fast, easy and fun.<br />
You can do[......]</p><p class='read-more'><a href='http://www.ladysign-apps.com/blog/code/ruby-on-rails/start-with-ruby-on-rails/'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p><strong>Difficulty:</strong> 2 out of 5 stars</p>
<p>Let&#8217;s start programming with Ruby. Cause what I&#8217;ve read about it, it should be fast, easy and fun.<br />
You can download ruby from: <a href="http://rubyforge.org/frs/?group_id=167&#038;release_id=28426" target="_blank">rubyforge.org</a>.<br />
I installed the windows version. To see if it&#8217;s correctly installed go to your command line:</p>
<pre class="brush: jscript; title: ;">
  ruby -v
</pre>
<p>This is what the command line tells me, what is installed:</p>
<pre class="brush: jscript; title: ;">
ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
</pre>
<p>Now create a new folder (structure) for your ruby (.rb) files.<br />
Let&#8217;s start with the famous Hello World example, to print a string:</p>
<p>hello_world.rb:</p>
<pre class="brush: ruby; title: ;">
puts &quot;Hello World!&quot;
</pre>
<p>Run this example in the commandline:</p>
<pre class="brush: jscript; title: ;">
 ruby hello_world.rb
</pre>
<p>And your done!</p>
<pre class="brush: jscript; title: ;">
 Hello World!
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ladysign-apps.com/blog/code/ruby-on-rails/start-with-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

