<?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>Brett Hutley&#039;s Blog &#187; Rails</title>
	<atom:link href="http://bretthutley.com/tag/rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://bretthutley.com</link>
	<description>Home on the Digital Range</description>
	<lastBuildDate>Mon, 23 Jan 2012 21:21:43 +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>Emacs and Ruby on Rails</title>
		<link>http://bretthutley.com/2009/11/17/emacs-and-rails/</link>
		<comments>http://bretthutley.com/2009/11/17/emacs-and-rails/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 17:17:19 +0000</pubDate>
		<dc:creator>brett</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[RoR]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Web Dev]]></category>

		<guid isPermaLink="false">http://www.bretthutley.com/?p=228</guid>
		<description><![CDATA[There is an Emacs mode for working with Ruby on Rails (of course). The main project page can be found here. In order to get everything set up, I had to do the following: First download the latest release of the project and extract it into your emacs library directory. I install most of my [...]


Related posts:<ol><li><a href='http://bretthutley.com/programming/emacs/integrating-emacs-and-xcode/' rel='bookmark' title='Integrating Emacs and XCode'>Integrating Emacs and XCode</a></li>
<li><a href='http://bretthutley.com/2011/11/21/emacs-and-kanban/' rel='bookmark' title='Emacs and Kanban'>Emacs and Kanban</a></li>
<li><a href='http://bretthutley.com/programming/emacs/' rel='bookmark' title='Emacs'>Emacs</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>There is an Emacs mode for working with Ruby on Rails (of course). The main project page <a href="http://rubyforge.org/projects/emacs-rails/">can be found here</a>. In order to get everything set up, I had to do the following:</p>
<p><span id="more-228"></span></p>
<ol>
<li>First download the latest release of the project and extract it into your emacs library directory. I install most of my extensions into a directory of my $HOME called "~/my/cfg/emacs". This creates a subdirectory called "emacs-rails".</li>
<li>I then added the following lines to the end of my .emacs file:
<pre class="lisp">
(setq load-path (cons
                            (expand-file-name "~/my/cfg/emacs/emacs-rails")
                            load-path))
(require 'rails)
</pre>
</li>
<li>The package depends on the emacs lisp files in the ruby distribution's "misc" directory. If you don't have them, grab a copy of the ruby tarball, extract, and install them in your emacs library directory.</li>
<li>The package also depends on a emacs function called "find-recursive", which I <a href="http://www.webweavertech.com/ovidiu/emacs/find-recursive.txt">grabbed from here</a>.</li>
</ol>
<p><b><i>EDIT</i></b> - OK, more useful to me at this stage is rhtml-mode which gives me syntax hi-lighting for rhtml files and can be <a href="http://github.com/eschulte/rhtml">downloaded here</a>. Also apparently <a href="http://rinari.rubyforge.org">rinari</a> is the successor to emacs-rails.</p>


<p>Related posts:<ol><li><a href='http://bretthutley.com/programming/emacs/integrating-emacs-and-xcode/' rel='bookmark' title='Integrating Emacs and XCode'>Integrating Emacs and XCode</a></li>
<li><a href='http://bretthutley.com/2011/11/21/emacs-and-kanban/' rel='bookmark' title='Emacs and Kanban'>Emacs and Kanban</a></li>
<li><a href='http://bretthutley.com/programming/emacs/' rel='bookmark' title='Emacs'>Emacs</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://bretthutley.com/2009/11/17/emacs-and-rails/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

