<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Crazy Or Genius?: Using Ruby And Rails On Torch</title>
    <link>http://www.crazyorgenius.com/articles/2006/05/15/using-ruby-and-rails-on-torch</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>When You Are Right 90% Of The Time, Why Quible Over The Remaining 3%?</description>
    <item>
      <title>Using Ruby And Rails On Torch</title>
      <description>&lt;p&gt;So&amp;#8230;.... I have noticed a few people have been searching the internet for &amp;#8216;rails on torch&amp;#8217;. So, I thought I would answer this question for them.&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;The Easy Answer:&lt;/strong&gt;&lt;/p&gt;


	&lt;p&gt;It is already installed! Just start developing following any of the many, many tutorials out there. Or alternately you can just download, configure and run one of the many pre-existing projects in existance&lt;/p&gt;&lt;p&gt;&lt;strong&gt;The Slightly Less Easy Answer&lt;/strong&gt;&lt;/p&gt;


	&lt;p&gt;Assuming you are doing development, you will soon likely run into a problem. Two of them actually.&lt;/p&gt;


	&lt;ol&gt;
	&lt;li&gt;The current version of Rails is 1.0.0, meaning you are missing out on the latest and greatest features.&lt;/li&gt;
		&lt;li&gt;You aren&amp;#8217;t able to install, let alone update, gems. (And do we &lt;span class="caps"&gt;REALLY&lt;/span&gt; want to bother the admins every time we want to try a new, or update an old, gem?)&lt;/li&gt;
	&lt;/ol&gt;


	&lt;p&gt;But there are a few options here:&lt;/p&gt;


	&lt;ol&gt;
	&lt;li&gt;Download gems and use &amp;#8216;gem unpack&amp;#8217; to unroll them into your application. Note, this is really tedious and lacks most of the advantages of using gems in the first place.&lt;/li&gt;
		&lt;li&gt;Install your own instance of rubygems. The process is documented &lt;a href="http://docs.rubygems.org/read/chapter/3"&gt;here&lt;/a&gt;. I use this on the server where I do most of my development. &lt;/li&gt;
		&lt;li&gt;Even easier, just set up your environment to store the gems in your home directory.  The process, which involves simply editing a file called .gemrc in your user directory is fairly well documented &lt;a href="http://docs.rubygems.org/read/chapter/11"&gt;here&lt;/a&gt;. For those who just want a quick fix, you can use the below.&lt;/li&gt;
	&lt;/ol&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;# simple .gemrc for usage on torch
gemhome: /users/cs/YOUR_USERNAME_HERE/gems
gempath:
- /usr/local/lib/ruby/gems/1.8&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
      <pubDate>Mon, 15 May 2006 23:35:00 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:444c455101666bb1d88417d0f5762408</guid>
      <author>Sean</author>
      <link>http://www.crazyorgenius.com/articles/2006/05/15/using-ruby-and-rails-on-torch</link>
      <category>Geek</category>
      <trackback:ping>http://www.crazyorgenius.com/articles/trackback/82</trackback:ping>
    </item>
  </channel>
</rss>
