<?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>Sean&#039;s Blog &#187; getting started</title>
	<atom:link href="http://seanbehan.com/tag/getting-started/feed/" rel="self" type="application/rss+xml" />
	<link>http://seanbehan.com</link>
	<description>Web Programming, Ruby on Rails, Wordpress, PHP from Burlington, Vermont</description>
	<lastBuildDate>Wed, 18 Jan 2012 21:44:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Hello Rack</title>
		<link>http://seanbehan.com/ruby/hello-rack/</link>
		<comments>http://seanbehan.com/ruby/hello-rack/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 03:21:25 +0000</pubDate>
		<dc:creator>bseanvt</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[getting started]]></category>
		<category><![CDATA[rack]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=716</guid>
		<description><![CDATA[What is Rack? Rack provides a minimal, modular and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and responses in the simplest way possible, it unifies and distills the API for web servers, web frameworks, and software in between (the so-called middleware) into a single method call. - Rack API Docs [...]]]></description>
			<content:encoded><![CDATA[<div style="height:33px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:px;">
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fseanbehan.com%2Fruby%2Fhello-rack%2F&amp;layout=button_count&amp;show_faces=false&amp;width=&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:27px;" allowTransparency="true"></iframe>
				</div><div class="really_simple_share_twitter" style="width:px;">
					<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
						data-text="Hello Rack" data-url="http://seanbehan.com/ruby/hello-rack/" 
						data-via="" ></a> 
				</div></div>
		<div style="clear:both;"></div><p>What is Rack?</p>
<blockquote><p>
Rack provides a minimal, modular and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and responses in the simplest way possible, it unifies and distills the API for web servers, web frameworks, and software in between (the so-called middleware) into a single method call.
</p></blockquote>
<p><a href="http://rack.rubyforge.org/doc">- Rack API Docs</a><br />
<br/><br />
Create and name your file config.ru If rack isn&#8217;t installed get it with this command</p>
<pre class="wp-code-highlight prettyprint">gem install rack</pre>
<p>In your config.ru file</p>
<pre class="wp-code-highlight prettyprint">
require 'rubygems'
require 'rack'

class HelloRack
  def call(env)
    [200, {&quot;Content-Type&quot; =&gt; &quot;text/html&quot;}, &quot;Hello Rack!&quot;]
  end
end

Rack::Handler::Mongrel.run HelloRack.new, :Port =&gt; 8888
</pre>
<p>Check out <a href="http://m.onkey.org/2008/11/17/ruby-on-rack-1">http://m.onkey.org/2008/11/17/ruby-on-rack-1</a></p>
]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/ruby/hello-rack/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

