<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -39,7 +39,13 @@ task :setup do
   puts &quot;And done.&quot;
 end
 
-if defined?(Erlake)
+# This unless-statement is here to prevent this rakefile from crashing if the
+# Erlake gem is not present.  As you can see above, we print a nice message
+# telling the user to install the gem and crashing from an uninitialized
+# constant error before we can print is a Bad Thing.
+
+exit(1) unless defined?(Erlake)
+
 ErlangProject = Erlake::ErlangProject
 
 this_dir = File.dirname(__FILE__)
@@ -78,10 +84,9 @@ end
 recess = ErlangProject.new('recess', this_dir) do |proj|
   proj.dependencies = [eunit, mochiweb, smerl]
 
-  # The include_paths must have one ending in &quot;include/eunit&quot; or else
-  # eunit freaks out and kills everything.
+  # The include_paths must have one path ending in &quot;include/eunit&quot; or else
+  # eunit freaks out and crashes.
   proj.test_include_paths = [&quot;./lib/include/eunit&quot;]
 end
 
-recess.use_globally!
-end
\ No newline at end of file
+recess.use_globally!
\ No newline at end of file</diff>
      <filename>Rakefile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ef7d144c670f0a908467fa98f8148406f148ea69</id>
    </parent>
  </parents>
  <author>
    <name>Jeff Hodges</name>
    <email>jeff@somethingsimilar.com</email>
  </author>
  <url>http://github.com/jmhodges/recess/commit/c7e164be968e563ff67cd30a0b1cbda9a85dd5ae</url>
  <id>c7e164be968e563ff67cd30a0b1cbda9a85dd5ae</id>
  <committed-date>2008-05-14T18:17:16-07:00</committed-date>
  <authored-date>2008-05-14T18:17:16-07:00</authored-date>
  <message>cleaning up how we safely exit the Rakefile when Erlake isnt available</message>
  <tree>0e913daf7a56a04eb4fd492ef28ec79846239d7c</tree>
  <committer>
    <name>Jeff Hodges</name>
    <email>jeff@somethingsimilar.com</email>
  </committer>
</commit>
