<?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>The Workshop &#187; Ruby on Rails</title>
	<atom:link href="http://www.eclips3media.com/workshop/category/rubyonrails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.eclips3media.com/workshop</link>
	<description>Cutting edge web &#38; mobile development. Ruby On Rails, Flash and related freshness.</description>
	<lastBuildDate>Thu, 30 Apr 2009 09:52:48 +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>The Rails Magazine</title>
		<link>http://www.eclips3media.com/workshop/2009/03/the-rails-magazine/</link>
		<comments>http://www.eclips3media.com/workshop/2009/03/the-rails-magazine/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 03:37:18 +0000</pubDate>
		<dc:creator>liquid</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[resources]]></category>

		<guid isPermaLink="false">http://www.eclips3media.com/workshop/?p=145</guid>
		<description><![CDATA[There are a lot of really great resources about Ruby and Rails on the web but the community was missing resource and articles an offline. In print. In something what you can hold in your hands and read on the tube/plane or wherever you want without the need of a computer.
Until now. The first issue [...]]]></description>
			<content:encoded><![CDATA[<p>There are a lot of really great resources about Ruby and Rails on the web but the community was missing resource and articles an offline. In print. In something what you can hold in your hands and read on the tube/plane or wherever you want without the need of a computer.</p>
<p>Until now. The first issue of the <a href="http://railsmagazine.com">Rails Magazine</a> (titled &#8216;The Beginning&#8217;) is out now. Rails Magazine is a real, printed journal covering Rails and the Rails community.<span id="more-145"></span></p>
<blockquote><p>The magazine is primarily addressed to Ruby on Rails developers, however everyone interested in related topics such as Ruby, Web 2.0, Startups, Web Frameworks should find Rails Magazine a valuable resource.</p>
<p>Whether you are new to Rails, a seasoned user of Rails, or a user of another framework or language who just wants to see what the fuss is all about, Rails Magazine is for you. Whether you work in an enterprise or a start-up, Rails Magazine has the information you need to be more successful.</p></blockquote>
<p>This issue has 36 pages full of quality content. It is printed in glossy full-color, on an 80# matte text stock paper that is FSC-certified and 50% recycled (10% post-consumer waste and 40% pre-consumer waste).</p>
<p style="text-align: center;"><img class="size-full wp-image-149 aligncenter" title="The Rails Magazine Issue #01" src="http://www.eclips3media.com/workshop/wp-content/uploads/2009/03/railsmag_01_1.jpg" alt="The Rails Magazine Issue #01" width="400" height="200" /></p>
<p>The magazine aims to provide timely and high-quality knowledge to the Ruby on Rails community and it <a href="http://magcloud.com/browse/Issue/7830">can be ordered through Magcloud</a> in US, UK and Canada for $8 with some additional postage fee. You can also browse the magazine online (preview) on the purchasing site.</p>
<p>The free digital edition (PDF) is well underway and will be available globally in about 2 weeks.</p>
<p>Table of Contents:</p>
<ul>
<li><a href="http://railsmagazine.com/articles/1">Editorial</a> by Olimpiu Metiu<a href="http://railsmagazine.com/articles/2"></a></li>
<li><a href="http://railsmagazine.com/articles/2">Extending Rails Through Plugins</a> by John Yerhot<a href="http://railsmagazine.com/articles/3"></a></li>
<li><a href="http://railsmagazine.com/articles/3">Receiving E-Mail With Rails</a> by Jason Seifer<a href="http://railsmagazine.com/articles/4"></a></li>
<li><a href="http://railsmagazine.com/articles/4">Delegation in Ruby</a> by Khaled al Habache<a href="http://railsmagazine.com/articles/5"></a></li>
<li><a href="http://railsmagazine.com/articles/5">Subscription billing with Saasy</a> by Alex MacCaw<a href="http://railsmagazine.com/articles/6"></a></li>
<li><a href="http://railsmagazine.com/articles/6">Making the Switch From RSpec to Shoulda</a> by Dan Pickett<a href="http://railsmagazine.com/articles/7"></a></li>
<li><a href="http://railsmagazine.com/articles/7">Playing Hooky a.k.a. web hooks</a> by John Nunemaker<a href="http://railsmagazine.com/articles/8"></a></li>
<li><a href="http://railsmagazine.com/articles/8">Adhearsion</a> by Jason Goecke and Jay Phillips<a href="http://railsmagazine.com/articles/9"></a></li>
<li><a href="http://railsmagazine.com/articles/9">Rails Performance Analysis</a> by Terry Heath<a href="http://railsmagazine.com/articles/10"></a></li>
<li><a href="http://railsmagazine.com/articles/10">Getting Started with JRuby and JRuby on Rails</a> by Joshua Moore<a href="http://railsmagazine.com/articles/11"></a></li>
<li><a href="http://railsmagazine.com/articles/11">Artwork</a> by Huw Morgan</li>
</ul>
<p>The magazine website <a href="http://railsmagazine.com/publish">encourages people to write</a> into the mag to gain recognition, show off skills or to spread the word about your business.</p>
<p>It also has a <a href="http://railsmagazine.com/forums">forum</a> to <a href="http://railsmagazine.com/forums/2">discuss the articles</a>.</p>
<p>Go and <a href="http://magcloud.com/browse/Issue/7830">grab a copy</a> of the first issue right now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eclips3media.com/workshop/2009/03/the-rails-magazine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby Enterprise Edition 1.8.6-20090113 &#8211; another update</title>
		<link>http://www.eclips3media.com/workshop/2009/01/ruby-enterprise-edition-186-20090113/</link>
		<comments>http://www.eclips3media.com/workshop/2009/01/ruby-enterprise-edition-186-20090113/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 03:39:00 +0000</pubDate>
		<dc:creator>liquid</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[ree]]></category>

		<guid isPermaLink="false">http://www.eclips3media.com/workshop/?p=95</guid>
		<description><![CDATA[Only a bit more than 1 month ago I&#8217;ve blogged about another update of Ruby Enterprise Edition. Now it is time for another heads up:
Ruby Enterprise Edition 1.8.6-20090113 is released.
Man, these guys are on fire! If yo are as crazy as I am, you may already been thinking about an update (at least on your development server.) So, [...]]]></description>
			<content:encoded><![CDATA[<p>Only a bit more than 1 month ago I&#8217;ve <a title="Ruby Enterprise Edition 1.8.6-20081205 update" href="http://www.eclips3media.com/workshop/2008/12/05/ruby-enterprise-edition-gets-updated/">blogged about another update</a> of <a title="Ruby Enterprise Edition" href="http://www.rubyenterpriseedition.com/">Ruby Enterprise Edition</a>. Now it is time for another heads up:</p>
<p><a title="View the release notes." href="http://blog.phusion.nl/2009/01/13/ruby-enterprise-edition-186-20090113-released-thanks-to-sponsors/">Ruby Enterprise Edition 1.8.6-20090113 is released</a>.</p>
<p>Man, these guys are on fire! If yo are as crazy as I am, you may already been thinking about an update (at least on your development server.) So, let&#8217;s see what you can get if you update to this release.<span id="more-95"></span></p>
<ul>
<li><a href="http://goog-perftools.sourceforge.net/doc/tcmalloc.html">Tcmalloc</a> support for 64-bit operating systems (which basically means an improved memory allocator that REE now includes on 64 bit systems).</li>
<li>Ported and incorporated <a href="http://ruby-prof.rubyforge.org/">RubyProf GC</a> patches (what you can use in a lot of debugging scenarios to measure the number of objects in memory).</li>
<li><a href="http://www.rubyenterpriseedition.com/documentation.html">Improved documentation</a> (which is obviously a required part if you want to know how to get the most out of this version of Ruby).</li>
<li>More various fixes and patches, thanks to the reports from the community via the <a title="REE Google Groups Page" href="http://groups.google.com/group/emm-ruby">REE Google Groups page</a>.(I encourage you to join so you will get notifications about updates and you can always ask other developers if you are having problems. It&#8217;s a helpful community.)</li>
</ul>
<p> </p>
<p>Please refer to the <a title="Official announcement" href="http://blog.phusion.nl/2009/01/13/ruby-enterprise-edition-186-20090113-released-thanks-to-sponsors/">official announcement</a> for a complete list of changes, additions and fixes.</p>
<p>So, this is another great update again just like <a title="Major updates of Ruby Enterprise Edition" href="eclips3media.com/workshop/2008/12/05/ruby-enterprise-edition-gets-updated/">the previous one</a>. What I may have left out from my previous post is the way Phusion deals with time-cost and development balancing:</p>
<p>Obviously, maintaining an open source product is most of the time kinda expensive since most of the time you are not getting paid directly by the end users. However, what makes this satisfying and interesting is when people who need certain features and improvements, they can sponsor them. <strong>Ruby Enterprise Edition is a sponsored product</strong>, this update was sponsored too, just like the previous version. <strong>Developers get paid</strong>, <strong>people get the exact features they want</strong>, and <strong>the whole community benefits</strong> from this since paid updates make into the public versions. Pretty clever and neat business model this is. If you are using this product and want to support the development, <a title="Donate." href="http://www.modrails.com/enterprise.html">please donate</a> as some of us already did it.</p>
<p>Looking at the big picture it seems like <a title="Phusion website" href="http://www.phusion.nl">Phusion</a> keeps improving and updating their product which is already a production ready competitor to the more prevalent Ruby VMs (such as the official version of Ruby or JRuby), mainly because of its <a href="http://www.rubyenterpriseedition.com/comparisons.html#overall_conclusion">substantial performance</a>. Also, if <a title="The New York Times" href="http://www.nytimes.com/" target="_blank">The New York Times</a>, <a title="Shopify" href="http://www.shopify.com/" target="_blank">Shopify</a>, and even <a title="37signals" href="http://www.37signals.com/" target="_blank">37signals</a> use it, they can&#8217;t be wrong.</p>
<div>Related links:</div>
<div>
<ul>
<li><a title="Ruby Enterprise Edition" href="http://www.rubyenterpriseedition.com/">Ruby Enterprise Edition website</a>,</li>
<li><a title="Download Ruby Enterprise Edition" href="http://www.rubyenterpriseedition.com/download.html">REE download page</a>,</li>
<li><span style="text-decoration: underline;"><a title="REE Documentation" href="http://www.rubyenterpriseedition.com/documentation.html">REE Documentation</a>,<br />
</span></li>
<li><a title="REE at Google Groups" href="http://groups.google.com/group/emm-ruby">REE at Google Groups</a>,</li>
<li><a title="REE on GitHub." href="http://github.com/FooBarWidget/rubyenterpriseedition">REE source on Github</a>.</li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.eclips3media.com/workshop/2009/01/ruby-enterprise-edition-186-20090113/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Major updates of Ruby Enterprise Edition</title>
		<link>http://www.eclips3media.com/workshop/2008/12/ruby-enterprise-edition-gets-updated/</link>
		<comments>http://www.eclips3media.com/workshop/2008/12/ruby-enterprise-edition-gets-updated/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 15:43:05 +0000</pubDate>
		<dc:creator>liquid</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[ree]]></category>
		<category><![CDATA[rubygems]]></category>

		<guid isPermaLink="false">http://www.eclips3media.com/workshop/?p=92</guid>
		<description><![CDATA[A couple of days ago I posted an entry about REE, Rails and Passenger setup.
Today we&#8217;ve received an email from Phusion about an updated version of REE:
Ruby Enterprise Edition 20081205 has been released.
This new update seems to address the most common problems what people have been encountering.
The main updates include:

Better 64-bit support
Better Mac OS X [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of days ago I posted an <a href="http://www.eclips3media.com/workshop/2008/12/03/how-to-install-ruby-enterprise-edition-passenger-and-rails-2/">entry about REE, Rails and Passenger setup</a>.</p>
<p>Today we&#8217;ve received an email from <a href="http://phusion.nl">Phusion</a> about an updated version of REE:<br />
Ruby Enterprise Edition 20081205 has been released.</p>
<p>This new update seems to address the most common problems what people have been encountering.</p>
<p>The main updates include:</p>
<ul>
<li>Better 64-bit support</li>
<li>Better Mac OS X support</li>
<li>RubyGems updated to version 1.3.1. (So you don&#8217;t need to update RubyGems like in my previous post)</li>
<li>REE’s RubyGems no longer makes use of the existing gems (which fixes a lot of confusion and problems with native extensions)</li>
<li>Integration with the <a href="http://railsbench.rubyforge.org/">RailsBench garbage collector</a> patches</li>
<li>A new command to track REE updates easily ($ ree-version)</li>
</ul>
<p>Please visit the official site for more details and the <a href="http://blog.phusion.nl/2008/12/05/ruby-enterprise-edition-186-20081205-released-thank-you-sponsors/">announcement</a>.</p>
<p>To upgrade from a previous version, simply install into the same prefix that you installed to last time. You can follow <a href="http://www.eclips3media.com/workshop/2008/12/03/how-to-install-ruby-enterprise-edition-passenger-and-rails-2/">this guide</a> in my previous post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eclips3media.com/workshop/2008/12/ruby-enterprise-edition-gets-updated/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to install Ruby Enterprise Edition, Passenger and Rails 2</title>
		<link>http://www.eclips3media.com/workshop/2008/12/how-to-install-ruby-enterprise-edition-passenger-and-rails-2/</link>
		<comments>http://www.eclips3media.com/workshop/2008/12/how-to-install-ruby-enterprise-edition-passenger-and-rails-2/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 00:45:36 +0000</pubDate>
		<dc:creator>liquid</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[passenger]]></category>
		<category><![CDATA[ree]]></category>
		<category><![CDATA[rubygems]]></category>

		<guid isPermaLink="false">http://www.eclips3media.com/workshop/?p=84</guid>
		<description><![CDATA[There are certain products which are currently shaking the Ruby / Rails community:

One of them is the infamous Phusion Passenger which makes deploying Rails applications a piece of a cake using Apache web servers,
And Ruby Enterprise Edition (aka REE) which promises better memory management and better scaleability of your Rails applications.

These are really promising projects [...]]]></description>
			<content:encoded><![CDATA[<p>There are certain products which are currently shaking the Ruby / Rails community:</p>
<ul>
<li>One of them is the infamous <strong><a href="http://www.modrails.com/">Phusion Passenger</a></strong> which makes deploying Rails applications a piece of a cake using Apache web servers,</li>
<li>And <strong><a href="http://www.rubyenterpriseedition.com/">Ruby Enterprise Edition</a></strong> (aka REE) which promises better memory management and better scaleability of your Rails applications.</li>
</ul>
<p>These are really promising projects and Passenger offers a really elegant and automated setup which makes it pretty easy to be installed. However, I still keep seeing people having problems using it with <strong>REE</strong> and <strong>Rails</strong> version 2.2.2 on blogs, <a href="http://railsforum.com/">RailsForum</a> and mostly on <a title="Passenger community on IRC" href="irc://irc.freenode.net/#passenger">IRC</a>.</p>
<p>In this article I will describe how to set up all of them. Hopefully it will help you understand the basic ideology how a Ruby environment is set up.</p>
<p>You will learn how to install and set up the following products for Rails development/deployment:</p>
<ul>
<li>Apache 2.2</li>
<li>Ruby Enterprise Edition</li>
<li>RubyGems 1.3.1</li>
<li>Ruby on Rails 2.2.2</li>
<li>Passenger 2.1.0 (note: this is an edge version, not recommended in production environment, you can still use 2.0.4)</li>
</ul>
<p>What you will need:</p>
<ul>
<li>Apache web server already set up,</li>
<li>Root privileges to be able to compile and set up your server</li>
<li>A basic understanding how to use the Terminal.</li>
</ul>
<p>OK, let&#8217;s get started.<span id="more-84"></span></p>
<h4>Install Ruby Enterprise Edition</h4>
<p><a href="http://www.rubyenterpriseedition.com/">Ruby Enterprise Edition</a> (REE) is a branch of the official Ruby interpreter which is capable of <a href="http://www.rubyenterpriseedition.com/comparisons.html#overall_conclusion">reducing your Rails applications’ memory usage by 33% on average</a>, as well as improving your applications’ performance. First, you will need to install Ruby Enterprise Edition, you can grab the source files from <a href="http://www.rubyenterpriseedition.com/download.html">here</a>.</p>
<p>Now open up the Terminal and navigate to your preferred directory where you store your source files. I&#8217;ve got a directory at /usr/local/src. I like keeping my stuff tidy.</p>
<p>Let&#8217;s unpack this package, navigate to the source and execute the installer:</p>
<pre class="brush: bash">$ tar xzvf ruby-enterprise-1.8.6-20080810.tar.gz
$ ./ruby-enterprise-1.8.6-20080810/installer</pre>
<p>The installer will check for dependencies and ask where you want to compile REE to. Pretty straight forward and automated task. Using the default path is not required but recommended. It&#8217;s more likely to be installed to <em>/opt/ruby-enterprise-1.8.6-20080810</em> as the default.</p>
<h4>Setup Ruby Enterprise Edition in your PATH</h4>
<p>It will also install RubyGems (the package manager for Ruby) and the most recent Rails version for you. Straight out of the box. However, you will more likely to have stuff to be fixed.</p>
<p>Now you have Ruby Enterprise Edition installed, let&#8217;s take a look at your binaries:</p>
<pre class="brush: bash">$ which ruby
$ which gem</pre>
<p>These commands more likely to return the pre-installed Ruby binaries if you have them, OS X Leopard comes with pre-installed Ruby and related binaries.</p>
<p>If you want to use REE as the primary ruby distribution you can set it up in based on your PATH. I&#8217;ve created removed the default binaries and created symbolic links to the new binaries.</p>
<p>Note: Removing is OPTIONAL ONLY but it makes sense if you don&#8217;t want to mess up your Ruby distribution. Messing up multiple Ruby and Gem instances is a common mistake what people do pretty often.</p>
<pre class="brush: bash">$ sudo rm /usr/local/bin/ruby
$ sudo rm /usr/local/bin/ruby18
$ sudo rm /usr/local/bin/gem
$ sudo rm /usr/local/bin/rake
$ sudo rm /usr/local/bin/rails
$ sudo rm /usr/local/bin/rails</pre>
<p>Now create the symlinks:</p>
<pre class="brush: bash">$ sudo ln -s /opt/ruby-enterprise-1.8.6-20080810/bin/ruby /usr/local/bin/
$ sudo ln -s /opt/ruby-enterprise-1.8.6-20080810/bin/gem /usr/local/bin/
$ sudo ln -s /opt/ruby-enterprise-1.8.6-20080810/bin/rake /usr/local/bin/
$ sudo ln -s /opt/ruby-enterprise-1.8.6-20080810/bin/rails /usr/local/bin/</pre>
<p>Now if you check your binaries you should have Ruby Enterprise Edition as the primary package:</p>
<pre class="brush: bash">$ which ruby
/opt/ruby-enterprise-1.8.6-20080810/bin/ruby
$ which gem
/opt/ruby-enterprise-1.8.6-20080810/bin/gem</pre>
<h4>Fix and update RubyGems</h4>
<p>OK, now you are ready to go. Ruby Enterprise Edition comes with pre-installed gems. Let&#8217;s take a look at it:</p>
<pre class="brush: bash">$ gem list</pre>
<p>You will probably see Rails 2.2.2 (or the most recent version) installed as well. You may think you are ready, but actually we still have to fix something:</p>
<p>Rails version 2.2.2 requires RubyGems 1.3.1 &#8211; or newer &#8211; to be installed. Rails was installed using RubyGems 1.2.0. You can check it yourself:</p>
<pre class="brush: bash">$ gem -v
1.2.0</pre>
<p>I had problems when the RubyGems update was installed after Rails. Don&#8217;t worry, we are just about to fix this. Let&#8217;s uninstall Rails and its dependencies without a single sign of fear:</p>
<pre class="brush: bash">$ sudo gem uninstall rails
$ sudo gem uninstall activerecord
$ sudo gem uninstall actionpack
$ sudo gem uninstall activeresource
$ sudo gem uninstall activesupport
$ sudo gem uninstall acionmailer</pre>
<p>Now install the RubyGems update:</p>
<pre class="brush: bash">$ sudo gem install rubygems-update
$ sudo update_rubygems</pre>
<p>This will basically update your RubyGems package manager to the most recent version.</p>
<p>NOTE: If the command &#8220;update_rubygems&#8221; cannot be found in your PATH then go to your gems folder and execute it right there:</p>
<pre class="brush: bash">$ cd /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/rubygems-update-1.3.1/bin/
$ ./update_rubygems</pre>
<p>If you still haven&#8217;t succeeded then you can install it explicitly with Ruby:</p>
<pre class="brush: bash">$ cd /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/rubygems-update-1.3.1/
$ ruby setup.rb</pre>
<p>Fine, now you should be definitely on version 1.3.1 at least:</p>
<pre class="brush: bash">$ gem -v
1.3.1</pre>
<p>Now let&#8217;s install Rails again:</p>
<pre class="brush: bash">$ sudo gem install rails</pre>
<h4>Install and set up Passenger with Apache</h4>
<p>So you already have Ruby Enterprise Edition with working RubyGems packages such as the most recent Rails version. Now let&#8217;s roll on.</p>
<p>There are 2 ways of installing passenger:</p>
<ul>
<li>Install the latest official gem release,</li>
<li>Or you can compile the most recent beta version from source.</li>
</ul>
<p>REMEMBER: If you are installing these applications on a production server, I&#8217;d recommend using the latest official release. As always, you can install Passenger through RubyGems:</p>
<pre class="brush: bash">$ gem install passenger</pre>
<p>Now let&#8217;s compile the the Apache module and set up Apache:</p>
<pre class="brush: bash">$ passenger-install-apache2-module</pre>
<p>Just follow the instructions, the installer will locate your web server, compile the module for it and give you some help how to set it up with it. At the end of the installer you will see these 3 lines similar to these:</p>
<pre class="brush: bash">LoadModule passenger_module /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/passenger-2.1.0/ext/apache2/mod_passenger.so
PassengerRoot /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/passenger-2.1.0
PassengerRuby /opt/ruby-enterprise-1.8.6-20080810/bin/ruby</pre>
<p>Just copy and paste these lines into httpd.conf, and check your configuration and restart Apache:</p>
<pre class="brush: bash">$ sudo apachectl configtest
Syntax OK
$sudo apachectl restart</pre>
<p>Passenger is a great piece of software and it&#8217;s pretty easy to be installed as you&#8217;ve seen. If you like it, please feel free to donate to Phusion ad get an <a href="http://www.modrails.com/enterprise.html">Enterprise License</a>.</p>
<p>If you are having problems using it, don&#8217;t hesitate and post a comment down here, maybe at <a href="http://railsforum.com">RailsForum</a> or check out the most common affiliates at <a href="http://www.modrails.com/commercial_support.html">the support page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eclips3media.com/workshop/2008/12/how-to-install-ruby-enterprise-edition-passenger-and-rails-2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Installing the MySQL gem on OS X</title>
		<link>http://www.eclips3media.com/workshop/2008/10/installing-the-mysql-gem-on-os-x/</link>
		<comments>http://www.eclips3media.com/workshop/2008/10/installing-the-mysql-gem-on-os-x/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 23:45:05 +0000</pubDate>
		<dc:creator>liquid</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[rubygems]]></category>

		<guid isPermaLink="false">http://www.eclips3media.com/workshop/?p=72</guid>
		<description><![CDATA[Wanna install the mysql gem for Ruby? You&#8217;d better do it since it&#8217;s already available, and you will need it anyway from Rails 2.2 since all database adapters are going to be extracted to 3rd party gems. Take a quick look at your development.log file:
cat development.log &#124; grep -i &#34;DEPRECATION WARNING&#34;
You may see a lot [...]]]></description>
			<content:encoded><![CDATA[<p>Wanna install the mysql gem for Ruby? You&#8217;d better do it since it&#8217;s already available, and you will need it anyway from Rails 2.2 since all database adapters are going to be extracted to 3rd party gems. Take a quick look at your development.log file:</p>
<pre class="brush: bash">cat development.log | grep -i &quot;DEPRECATION WARNING&quot;</pre>
<p>You may see a lot of deprecation warnings related to the mysql database connector like these:</p>
<p><strong>DEPRECATION WARNING</strong>: You&#8217;re using the Ruby-based MySQL library that ships with Rails. <strong>This library will be REMOVED FROM RAILS 2.2</strong>. Please switch to the offical mysql gem: `gem install mysql`  See http://www.rubyonrails.org/deprecation for details. (called from mysql_connection at /Library/Ruby/Gems/1.8/gems/activerecord-2.1.1/lib/active_record/connection_adapters/mysql_adapter.rb:81)</p>
<p>Now you&#8217;d better install the mysql gem. I know, it is not a too easy task, a lot of people seem to have problems with it. If you type <strong>sudo gem install mysql</strong> your Terminal may return with errors:</p>
<pre class="brush: bash">Building native extensions.  This could take a while...
ERROR:  Error installing mysql:
	ERROR: Failed to build gem native extension.

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install mysql
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lm... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lz... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lsocket... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lnsl... no
checking for mysql_query() in -lmysqlclient... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.</pre>
<p>Yea, very disappointing I know, I know. But rather then start crying like a teenage girl you could check the error log and start thinking about what you are missing.</p>
<p>No, no, no, I am not talking about a million dollar penthouse or girlfriend in this case&#8230; You forgot to tell RubyGems where to look for the mysql header/source files. Without them it just cannot build a native extension on your machine.</p>
<p>Let&#8217;s provide some more information to the package manager so it will be able to build that beast on your machine:</p>
<pre class="brush: bash">sudo gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
Building native extensions.  This could take a while...
Successfully installed mysql-2.7
1 gem installed</pre>
<p>Much better.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eclips3media.com/workshop/2008/10/installing-the-mysql-gem-on-os-x/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Twitter Said To Be Abandoning Ruby on Rails</title>
		<link>http://www.eclips3media.com/workshop/2008/05/twitter-said-to-be-abandoning-ruby-on-rails/</link>
		<comments>http://www.eclips3media.com/workshop/2008/05/twitter-said-to-be-abandoning-ruby-on-rails/#comments</comments>
		<pubDate>Fri, 02 May 2008 17:06:47 +0000</pubDate>
		<dc:creator>liquid</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[scaling]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.eclips3media.com/workshop/?p=41</guid>
		<description><![CDATA[There was always a mess and confusion around the scaling abilities of Rails.
We’re hearing this from multiple sources: After nearly two years of high profile scaling problems, Twitter is planning to abandon Ruby on Rails as their web framework and start from scratch with PHP or Java (another solution is to stick with the Ruby [...]]]></description>
			<content:encoded><![CDATA[<p>There was always a mess and confusion around the scaling abilities of Rails.</p>
<blockquote><p>We’re hearing this from multiple sources: After nearly two years of high profile scaling problems, <a href="http://www.twitter.com">Twitter</a> is planning to abandon Ruby on Rails as their web framework and start from scratch with PHP or Java (another solution is to stick with the Ruby language and move away from the Rails framework).</p></blockquote>
<p>.. as it was written yesterday on <a href="http://www.techcrunch.com/2008/05/01/twitter-said-to-be-abandoning-ruby-on-rails/">Techcrunch</a>.</p>
<p>On the other hand, <a href="http://www.loudthinking.com/about.html">David Heinemeier Hansson</a> (creator of Ruby On Rails) <a href="http://www.loudthinking.com/arc/000479.html">wrote a post</a> on <a href="http://www.loudthinking.com/">Loud Thinking</a> (his personal Blog) about the scaling opportunities of the framework.</p>
<p>Well, I am about to dig deeper into this very exciting question and share my experiences.</p>
<p>UPDATE: Just got noticed by <a href="http://twitter.com/dagobart">Arnold Funken</a> on Twitter:</p>
<p><a href="http://twitter.com/ev/statuses/801530348"><img class="aligncenter size-full attachment wp-att-42" title="Evan Williams on Twitter" src="http://www.eclips3media.com/workshop/wp-content/uploads/2008/05/picture-2.png" alt="" width="500" height="180" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.eclips3media.com/workshop/2008/05/twitter-said-to-be-abandoning-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Rails 2.0 is finally out</title>
		<link>http://www.eclips3media.com/workshop/2007/12/rails-20-is-finally-out/</link>
		<comments>http://www.eclips3media.com/workshop/2007/12/rails-20-is-finally-out/#comments</comments>
		<pubDate>Tue, 11 Dec 2007 23:45:36 +0000</pubDate>
		<dc:creator>liquid</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.eclips3media.com/workshop/2007/12/11/rails-20-is-finally-officially-out/</guid>
		<description><![CDATA[Yes, you are right. It is finally finished after about a year in the making. This is a fantastic release that’s absolutely stuffed with great new features, loads of fixes, and an incredible amount of polish. So let&#8217;s digg into the new features and everybody: update your stuff to get even more funky!
Update details can [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, you are right. It is finally finished after about a year in the making. This is a fantastic release that’s absolutely stuffed with great new features, loads of fixes, and an incredible amount of polish. So let&#8217;s digg into the new features and everybody: update your stuff to get even more funky!</p>
<p>Update details can be found <a href="http://weblog.rubyonrails.org/2007/12/7/rails-2-0-it-s-done">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eclips3media.com/workshop/2007/12/rails-20-is-finally-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problems with RMagick 1.5</title>
		<link>http://www.eclips3media.com/workshop/2007/11/problems-with-rmagick-15x/</link>
		<comments>http://www.eclips3media.com/workshop/2007/11/problems-with-rmagick-15x/#comments</comments>
		<pubDate>Fri, 16 Nov 2007 11:54:52 +0000</pubDate>
		<dc:creator>liquid</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[rmagick]]></category>

		<guid isPermaLink="false">http://www.eclips3media.com/workshop/?p=20</guid>
		<description><![CDATA[Last week one of our webistes went down for some unknown reason, and I&#8217;ve found this kind of error message in production.log:

LoadError (Expected xy file to define ...)

Of course this is a useless error message which means Rails couldn&#8217;t find a controller file which has been still at its proper path of course. What to [...]]]></description>
			<content:encoded><![CDATA[<p>Last week one of our webistes went down for some unknown reason, and I&#8217;ve found this kind of error message in production.log:</p>

<div class="wp_syntax"><div class="code"><pre class="apache" style="font-family:monospace;">LoadError (Expected xy file to <span style="color: #00007f;">define</span> ...)</pre></div></div>

<p>Of course this is a useless error message which means Rails couldn&#8217;t find a controller file which has been still at its proper path of course. What to do now? If you need a more detailed error log, there is a solution to force Rails to log errors in deeper detail, just set your caching classes to true in your environment.rb file:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">config.<span style="color:#9900CC;">cache_classes</span> = <span style="color:#0000FF; font-weight:bold;">true</span></pre></div></div>

<p>After restarting the webserver, and reloading the page, I could get a proper and useful error message, Rails pointed that the error is in RMagick gems. Take a quick look on the new error message in the log:</p>

<div class="wp_syntax"><div class="code"><pre class="apache" style="font-family:monospace;">RuntimeError (This version of RMagick was created to run with ImageMagick 6.3.3
but ImageMagick 6.3.6 is installed <span style="color: #0000ff;">on</span> this system. You should either
<span style="color: #ff0000;">1</span>) Configure and build RMagick for ImageMagick 6.3.6, or
<span style="color: #ff0000;">2</span>) download ImageMagick 6.3.3 <span style="color: #00007f;">from</span> file:///usr/local/share/doc/ImageMagick-6.3.3/index.html and install it.
):</pre></div></div>

<p>Now this is something what you can use to start debugging. After reinstalling RMagick, the problem has been solved, and the site was up and online again. Just do the following 3 easy steps:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gem uninstall rmagick
gem <span style="color: #c20cb9; font-weight: bold;">install</span> rmagick
apachectl restart</pre></div></div>

<p>Done, you can get back processing your images.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eclips3media.com/workshop/2007/11/problems-with-rmagick-15x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails goes v2.0, shortly</title>
		<link>http://www.eclips3media.com/workshop/2007/11/rails-goes-v20-shortly/</link>
		<comments>http://www.eclips3media.com/workshop/2007/11/rails-goes-v20-shortly/#comments</comments>
		<pubDate>Thu, 01 Nov 2007 02:48:59 +0000</pubDate>
		<dc:creator>liquid</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[rails 2.0]]></category>

		<guid isPermaLink="false">http://www.eclips3media.com/workshop/?p=19</guid>
		<description><![CDATA[Behold, behold, Rails 2.0 is almost here. Take a quick look here to check out the new killer features. There is a preview version available as well. Must be seen!
Update:
This morning (November 29th) the Rails team has released RC2 so if you are a freak who is keen on the latest builds and wants to [...]]]></description>
			<content:encoded><![CDATA[<p>Behold, behold, Rails 2.0 is almost here. Take a quick look <a href="http://weblog.rubyonrails.org/2007/9/30/rails-2-0-0-preview-release">here</a> to check out the new killer features. There is a preview version available as well. Must be seen!</p>
<p>Update:</p>
<p>This morning (November 29th) the Rails team has released RC2 so if you are a freak who is keen on the latest builds and wants to check out RC2 &#8211; use the svn checkout command of:</p>
<pre>svn co http://dev.rubyonrails.org/svn/rails/tags/rel_2-0-0_RC2 vendor/rails</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.eclips3media.com/workshop/2007/11/rails-goes-v20-shortly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Visual Studio as a Ruby On Rails IDE</title>
		<link>http://www.eclips3media.com/workshop/2007/08/using-visual-studio-as-a-ruby-on-rails-ide/</link>
		<comments>http://www.eclips3media.com/workshop/2007/08/using-visual-studio-as-a-ruby-on-rails-ide/#comments</comments>
		<pubDate>Thu, 09 Aug 2007 07:03:20 +0000</pubDate>
		<dc:creator>liquid</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[environment]]></category>
		<category><![CDATA[productivity]]></category>

		<guid isPermaLink="false">http://www.eclips3media.com/workshop/?p=8</guid>
		<description><![CDATA[There are lots of good editors for Ruby development, such as Aptana (formerly known as RadRails) which is based on the Eclipse framework so it needs lots of resources to run (because is is based on Java). An other solution can be  RoRED. RoRED seems to be OK, but I really miss lots of [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.eclips3media.com/workshop/wp-content/uploads/2007/12/visualstudiologo.gif" alt="Microsoft Visual Studio" align="right" />There are lots of good editors for Ruby development, such as <a href="http://www.radrails.org/" title="Aptana IDE website">Aptana</a> (formerly known as RadRails) which is based on the Eclipse framework so it needs lots of resources to run (because is is based on Java). An other solution can be  <a href="http://www.plasmacode.com" title="RoRED official website">RoRED</a>. RoRED seems to be OK, but I really miss lots of features from it.</p>
<p>If I say IDE, I mean a full featured environment with project management, useful editor and debugging features. And this is when Visual Studio comes in. Microsoft&#8217;s Visual Studio is one of the most famous IDEs, used by lots of programmers who have to focus on .Net, ASP, C, C++, C#. But what about Ruby developers? Since now it can be used as a Ruby On Rails IDE with a &#8220;small extension&#8221; built by <a href="http://www.sapphiresteel.com/" title="SapphireSteel Official Website">SapphireSteel</a> Software: Ruby In Steel.</p>
<p><span id="more-8"></span></p>
<h4>Linking the power of Ruby with the power of Visual Studio</h4>
<p><span class="artText">Ruby in Steel is plugging into Visual Studio to blend the benefits of Microsoft&#8217;s development environment with Ruby technologies.</span></p>
<p><span class="artText">A fast debugger is included in the professional edition of Ruby in Steel. IntelliSense functionality for code completion is also done, as it has support for Microsoft&#8217;s Solution Explorer project management tool. Ruby in Steel provides an editing environment for Ruby programs and comes with syntax coloring and the ability to run console applications with one single keystroke.</span></p>
<p><span class="artText">Among the other features planned for Ruby in Steel, wizards set up databases. Ruby In Steel supports the MySQL and SQL Server databases, with integrations planned for other databases such as Oracle. Ruby in Steel enables development of applications to be deployed primarily on Windows, Mac OS and Linux.</span></p>
<p>There are good news for the upcoming version of Visual Studio: Ruby in Steel is going to support Visual Studio 2008 as well as version 2005 (latest available yet).</p>
<p>Ruby In Steel comes with lots of features in different cases:</p>
<ul>
<li>Code Coloring (Ruby and RHTML)</li>
<li>Code Folding (Ruby and RHTML)</li>
<li>Extended Syntax Coloring</li>
<li>Mark and Hide Selected Code</li>
<li>Tooltips show hidden (collapsed) code</li>
<li>Collapse To Definitions</li>
<li>Bracket matching (move cursor)</li>
<li>Bracket highlighting</li>
<li>Keyword..END matching (move cursor)</li>
<li>Block comment/uncomment</li>
<li>Multi-level undo/redo</li>
<li>Tabbed (multi-file) editing</li>
<li>Split-window editing</li>
<li>Auto Indent/outdent</li>
<li>Bookmarks</li>
<li>Line Numbers (optional)</li>
<li>User defined macros</li>
<li>Find/Replace with wildcards</li>
<li>Find/Replace with regular expressions</li>
<li>Find/Replace in files</li>
<li>Incremental Search</li>
<li>Rectangular block Selection</li>
<li>Drag and drop copy/move</li>
<li>Block Indenting</li>
<li>Smart Indenting</li>
<li>Format all code or selection</li>
</ul>
<p>Debugging features</p>
<ul>
<li>Ruby and Rails Debugging</li>
<li>Breakpoints with Breakpoint Manager (enable/disable)</li>
<li>Watch variables</li>
<li>Show Locals and/or Globals</li>
<li>Show Instance Variables</li>
<li>Show Object Methods</li>
<li>Show Singleton Methods</li>
<li>Call Stack</li>
<li>Step into / over</li>
<li>Run to cursor</li>
<li>Interactive Debugging Console</li>
<li>Drill-down (variable expansion)</li>
<li>Hovering Drill-down in Ruby Editor (or in Ruby Console)</li>
<li>Fast ‘Cylon’ Debugger</li>
</ul>
<p>IntelliSense</p>
<ul>
<li>Intelligent Type Inference</li>
<li>Optional type assertion of method return</li>
<li>Optional type assertion of arguments</li>
<li>Member, Keyword and Parameter completion lists</li>
<li>Globals completion</li>
<li>Variables completion</li>
<li>Auto-expand snippets</li>
<li>Auto-surround snippets</li>
<li>RDoc display in tooltips</li>
<li>tooltip HELP OVER COMPLETION LISTS</li>
<li>Navigation bars (drop-down Lists) In EDitor</li>
</ul>
<p class="note"><strong>Note:</strong> Using IntelliSense is a convenient way to access descriptions of functions, particularly their parameter lists. It speeds up software development by reducing the amount of keyboard input required. It also allows less reference to external documentation as documentation on many functions appears with the function name. Since now with the power of Ruby In Steel we have the opportunity to use Ruby and Ruby on Rails functions, attribute, etc. with IntelliSense.<br />
More can be found on the <a href="http://en.wikipedia.org/wiki/Intellisense" title="IntelliSense on Wikipedia">relevant Wikipedia page</a>.</p>
<p>Project Management</p>
<ul>
<li>Ruby and Rails Project Wizard</li>
<li>Manage Projects in Solution Explorer</li>
<li>Add New Ruby and Rails files</li>
<li>Add Existing Ruby and Rails files</li>
<li>Optionally exclude hidden files/folders</li>
<li>Optionally exclude by file extension</li>
<li>Synchronize disk/project</li>
<li>Show All Files</li>
<li>Add project folders</li>
<li>Open command prompt in directory</li>
<li>Rename file/folder</li>
<li>Delete file/folder</li>
<li>Drag+drop copy/move file/folder</li>
<li>Exclude selected file/folder</li>
<li>Projects may include supported VS file types: HTML, text, CSS, XML etc.</li>
<li>File properties (args, flags etc.)</li>
<li>Import existing Ruby or Rails projects</li>
<li>Convert (in Place) Ruby or Rails projects</li>
</ul>
<p>Productivity Tools</p>
<ul>
<li>Rake Task Runner</li>
<li>Dockable/configurable Rake Window</li>
<li>Start server dialog</li>
<li>Generate controller/model/scaffold</li>
<li>Dockable Generate Script-Builder</li>
<li>Install Gems dialog</li>
<li>Ruby and Rails toolbar</li>
<li>Run in popup command window</li>
<li>Run in integrated interactive console</li>
<li>Tabbed/docked/floating windows</li>
<li>Build to find syntax errors</li>
<li>Click message to locate syntax error</li>
<li>Comprehensive PDF User Guide/Manual</li>
<li>PDF guides to macros, LightTPD, Snippets</li>
<li>Integrated Help</li>
<li>Go To Definition</li>
<li>Syntax error indicators (‘squigglies’)</li>
<li>Ruby/Rails Macro Library</li>
<li>Ruby Snippet Library</li>
<li>Ruby Snippet Editor</li>
<li>Ruby Explorer code navigator</li>
</ul>
<p>Rails Development</p>
<ul>
<li>Database setup wizard</li>
<li>Automated MySQL setup</li>
<li>Automated SQL Server setup</li>
<li>Option to use other DB servers</li>
<li>Auto-generate YAML</li>
<li>Integrated SQL Server DB definition</li>
<li>Integrated SQL Server Explorer</li>
<li>Integrated web browser</li>
<li>IntelliSense For Rails</li>
<li>RHTML/HTML Editor TOGGLE</li>
<li>One-click Rails Debugger</li>
</ul>
<h4>Different versions with different pricing</h4>
<p>Ruby In Steel comes in two different versions: Personal and Developer edition. The first one is free but has a few restrictions &#8211; for example there is no IntelliSense support. The developer edition has all the features what a professional programmer needs. See the <a href="http://www.sapphiresteel.com" title="SapphireSteel Official Website">official website</a> to <a href="http://www.sapphiresteel.com/spip.php?page=feature-list" title="Ruby In Steel feature list">compare</a> the different versions an check out the <a href="http://www.sapphiresteel.com/Ruby-In-Steel-Movies" title="Ruby In Steel movies">movies</a>.</p>
<p>I&#8217;ve been using the personal edition for a while and I can say it is very useful, it is very strong in productivity features and it is the best solution for Ruby On Rails development. I&#8217;m planning to buy the developer version which is now available only for $199 which doesn&#8217;t seem to be too expensive (more productivity means more money to earn <img src='http://www.eclips3media.com/workshop/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> )</p>
<p>I also have to mention that one of the features that web developers will really like with VS 2008 is its built-in support for JavaScript IntelliSense. This is enabled in both the free Visual Web Developer 2008 Express edition as well as in Visual Studio, and makes using JavaScript and building AJAX applications significantly easier. Microsoft also announced the next version of Visual Studio (right after VS 2008) which will have project management supports as well.</p>
<p>Related links:</p>
<ul>
<li><a href="http://www.sapphiresteel.com/" title="SapphireSteel Official Website">SapphireSteel (Home of Ruby In Steel)</a></li>
<li><a href="http://msdn.microsoft.com/vstudio/" title="Visual Studio Developer Center">Visual Studio Developer Center (Official Visual Studio 2005 website)</a></li>
<li><a href="http://msdn2.microsoft.com/en-us/vstudio/aa700830.aspx" title="Visual Studio 2008">Visual Studio 2008 (upcoming version, codename Orcas) website</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.eclips3media.com/workshop/2007/08/using-visual-studio-as-a-ruby-on-rails-ide/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
