broken pipe error with aptana

I work on a Mac with Aptana. Sometimes Aptana crashes and then, after restarting it, it shows this error when I try to access my application:Broken pipe error for webrick

Errno::EPIPE in Site#home

Showing layouts/_banner_headers.html.erb where line #11 raised:

Broken pipe

The line doesn’t matter. The problem is that Webrick continues to run even after restarting Aptana. So, when you go to http://localhost:3038/ it is actually accessing a ‘zombie‘ Webrick. Not the one you last launched.

Here is the solution:

1. Fire up a Terminal

2. [etagwerker@gesell trunk]$ ps aux | grep ruby

etagwerker 22930   0.2  2.0   165156  84312   ??  S     2:53PM   0:48.88 /usr/local/bin/ruby -e p(Process.pid.to_s) -e load(ARGV.shift) -I … etc…

The first number is the PID

3. Kill the zombie process

[etagwerker@gesell trunk]$ kill -9 22930

4. Restart your Aptana.
That’s it. You should be able to continue using Aptana.
This entry was posted in developer tools, linux/unix world, web programming and tagged , , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>