<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: TextMate: lstat &#8211; No such file or directory</title>
	<atom:link href="http://keep12on.com/2009/05/10/textmate-lstat-no-such-file-or-directory/feed/" rel="self" type="application/rss+xml" />
	<link>http://keep12on.com/2009/05/10/textmate-lstat-no-such-file-or-directory/</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Wed, 22 Jun 2011 07:49:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Evgeny Shadchnev</title>
		<link>http://keep12on.com/2009/05/10/textmate-lstat-no-such-file-or-directory/#comment-41</link>
		<dc:creator><![CDATA[Evgeny Shadchnev]]></dc:creator>
		<pubDate>Mon, 17 Aug 2009 16:59:29 +0000</pubDate>
		<guid isPermaLink="false">http://keep12on.com/?p=6#comment-41</guid>
		<description><![CDATA[Sorry, didn&#039;t try it yet. I googled a bit before writing this post but couldn&#039;t find that patch.]]></description>
		<content:encoded><![CDATA[<p>Sorry, didn&#8217;t try it yet. I googled a bit before writing this post but couldn&#8217;t find that patch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yi Lin</title>
		<link>http://keep12on.com/2009/05/10/textmate-lstat-no-such-file-or-directory/#comment-40</link>
		<dc:creator><![CDATA[Yi Lin]]></dc:creator>
		<pubDate>Mon, 17 Aug 2009 16:55:51 +0000</pubDate>
		<guid isPermaLink="false">http://keep12on.com/?p=6#comment-40</guid>
		<description><![CDATA[I ran into the same problem. It occurred in my Rails unit test when I added an assert_raise clause. Turns out there&#039;s already a patch for it in Ruby bundle for TextMate: 

http://www.nabble.com/Patch-for-RubyMate:-&#039;No-such-file-or-directory&#039;-when-backtrace-contains-eval-td21506903.html

So I installed the latest bundle off of trunk and problem solved. Did this work for you?]]></description>
		<content:encoded><![CDATA[<p>I ran into the same problem. It occurred in my Rails unit test when I added an assert_raise clause. Turns out there&#8217;s already a patch for it in Ruby bundle for TextMate: </p>
<p><a href="http://www.nabble.com/Patch-for-RubyMate:-&#039;No-such-file-or-directory&#039;-when-backtrace-contains-eval-td21506903.html" rel="nofollow">http://www.nabble.com/Patch-for-RubyMate:-&#039;No-such-file-or-directory&#039;-when-backtrace-contains-eval-td21506903.html</a></p>
<p>So I installed the latest bundle off of trunk and problem solved. Did this work for you?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Rossi</title>
		<link>http://keep12on.com/2009/05/10/textmate-lstat-no-such-file-or-directory/#comment-36</link>
		<dc:creator><![CDATA[Tom Rossi]]></dc:creator>
		<pubDate>Fri, 19 Jun 2009 14:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://keep12on.com/?p=6#comment-36</guid>
		<description><![CDATA[Stephen,

Can you elaborate on your solution for that annoying test_helper message?

Thanks!
Tom]]></description>
		<content:encoded><![CDATA[<p>Stephen,</p>
<p>Can you elaborate on your solution for that annoying test_helper message?</p>
<p>Thanks!<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Best</title>
		<link>http://keep12on.com/2009/05/10/textmate-lstat-no-such-file-or-directory/#comment-35</link>
		<dc:creator><![CDATA[Stephen Best]]></dc:creator>
		<pubDate>Tue, 09 Jun 2009 15:10:31 +0000</pubDate>
		<guid isPermaLink="false">http://keep12on.com/?p=6#comment-35</guid>
		<description><![CDATA[Thanks so much, been putting up with this when running failing tests for a while, finally today I felt like I had to do something about it.

In case anyone is having trouble with the old

`require&#039;: no such file to load -- test_helper (LoadError)

when running tests on the command line should set this environment variable
RUBYLIB=&quot;.:test:$RUBYLIB&quot;]]></description>
		<content:encoded><![CDATA[<p>Thanks so much, been putting up with this when running failing tests for a while, finally today I felt like I had to do something about it.</p>
<p>In case anyone is having trouble with the old</p>
<p>`require&#8217;: no such file to load &#8212; test_helper (LoadError)</p>
<p>when running tests on the command line should set this environment variable<br />
RUBYLIB=&#8221;.:test:$RUBYLIB&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Ingles</title>
		<link>http://keep12on.com/2009/05/10/textmate-lstat-no-such-file-or-directory/#comment-34</link>
		<dc:creator><![CDATA[Paul Ingles]]></dc:creator>
		<pubDate>Mon, 08 Jun 2009 17:30:20 +0000</pubDate>
		<guid isPermaLink="false">http://keep12on.com/?p=6#comment-34</guid>
		<description><![CDATA[We&#039;ve struggled with the same thing, although the fix above broke for some other spurious reason. Here&#039;s the implementation we ended up with:

def path_to_url_chunk(path)
  unless path == &quot;untitled&quot;
    prefix = &#039;&#039;
    2.times do
      begin
        file = Pathname.new(prefix + path).realpath.to_s
        &quot;url=file://#{e_url(file)}&amp;&quot;
      rescue Errno::ENOENT
        # Hmm lets try to prefix with project directory
        prefix = &quot;#{ENV[&#039;TM_PROJECT_DIRECTORY&#039;]}/&quot;
      end
    end
  else
    &#039;&#039;
  end
end]]></description>
		<content:encoded><![CDATA[<p>We&#8217;ve struggled with the same thing, although the fix above broke for some other spurious reason. Here&#8217;s the implementation we ended up with:</p>
<p>def path_to_url_chunk(path)<br />
  unless path == &#8220;untitled&#8221;<br />
    prefix = &#8221;<br />
    2.times do<br />
      begin<br />
        file = Pathname.new(prefix + path).realpath.to_s<br />
        &#8220;url=file://#{e_url(file)}&amp;&#8221;<br />
      rescue Errno::ENOENT<br />
        # Hmm lets try to prefix with project directory<br />
        prefix = &#8220;#{ENV['TM_PROJECT_DIRECTORY']}/&#8221;<br />
      end<br />
    end<br />
  else<br />
    &#8221;<br />
  end<br />
end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Payton</title>
		<link>http://keep12on.com/2009/05/10/textmate-lstat-no-such-file-or-directory/#comment-4</link>
		<dc:creator><![CDATA[Tim Payton]]></dc:creator>
		<pubDate>Fri, 05 Jun 2009 12:23:55 +0000</pubDate>
		<guid isPermaLink="false">http://keep12on.com/?p=6#comment-4</guid>
		<description><![CDATA[This worked for me... Thank you very much.  Very nice to not have this popup form time to time and then be forced to work from the command line :)]]></description>
		<content:encoded><![CDATA[<p>This worked for me&#8230; Thank you very much.  Very nice to not have this popup form time to time and then be forced to work from the command line <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

