<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>Bryan Helmkamp - Scourging your Ruby code with Flog Comments</title>
  <id>tag:www.brynary.com,2009:/2007/9/13/scourging-your-ruby-code-with-flog/comments</id>
  <generator version="0.8.0" uri="http://mephistoblog.com">Mephisto Drax</generator>
  <link href="http://www.brynary.com/2007/9/13/scourging-your-ruby-code-with-flog/comments.xml" rel="self" type="application/atom+xml"/>
  <link href="/2007/9/13/scourging-your-ruby-code-with-flog" rel="alternate" type="text/html"/>
  <updated>2007-09-19T05:24:19Z</updated>
  <entry xml:base="http://www.brynary.com/">
    <author>
      <name>Abhay Kumar</name>
    </author>
    <id>tag:www.brynary.com,2007-09-13:899:905</id>
    <published>2007-09-18T01:18:25Z</published>
    <updated>2007-09-18T01:18:25Z</updated>
    <category term="Rails"/>
    <category term="Ruby"/>
    <link href="http://www.brynary.com/2007/9/13/scourging-your-ruby-code-with-flog" rel="alternate" type="text/html"/>
    <title>Comment on 'Scourging your Ruby code with Flog' by Abhay Kumar</title>
<content type="html">&lt;p&gt;This is great. One small thing: you should probably check for the directory first before writing to a file in there.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.brynary.com/">
    <author>
      <name>Joshua Nichols</name>
    </author>
    <id>tag:www.brynary.com,2007-09-13:899:904</id>
    <published>2007-09-17T05:15:47Z</published>
    <updated>2007-09-17T05:15:47Z</updated>
    <category term="Rails"/>
    <category term="Ruby"/>
    <link href="http://www.brynary.com/2007/9/13/scourging-your-ruby-code-with-flog" rel="alternate" type="text/html"/>
    <title>Comment on 'Scourging your Ruby code with Flog' by Joshua Nichols</title>
<content type="html">&lt;p&gt;When I first ran this, I was getting:
    nichoj@metaverse ~/projects/technicalpickles.com $ rake flog
    (in /home/nichoj/projects/technicalpickles.com)
    rake aborted!
    No such file or directory &#8211; /home/nichoj/projects/technicalpickles.com/config/../tmp/flog/all.txt&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;(See full trace by running task with --trace)&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;So, in the flog method, we should be doing a mkdir. I added this bit to it:
  Dir.mkdir &#8221;#{RAILS_ROOT}/tmp/flog&#8221;&lt;/p&gt;


	&lt;p&gt;Worked like a charm after that.&lt;/p&gt;


	&lt;p&gt;I wonder, do you think this is something that this is something that could be contributed back to flog?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.brynary.com/">
    <author>
      <name>Luke Melia</name>
    </author>
    <id>tag:www.brynary.com,2007-09-13:899:900</id>
    <published>2007-09-13T05:58:10Z</published>
    <updated>2007-09-13T05:58:10Z</updated>
    <category term="Rails"/>
    <category term="Ruby"/>
    <link href="http://www.brynary.com/2007/9/13/scourging-your-ruby-code-with-flog" rel="alternate" type="text/html"/>
    <title>Comment on 'Scourging your Ruby code with Flog' by Luke Melia</title>
<content type="html">&lt;p&gt;Cool, Bryan. You should add your sake task to sakebar [http://sakebar.railsrumble.com/]&lt;/p&gt;</content>  </entry>
</feed>
