 {EventEmitter} = require 'events'
 {BufferedReadStream, BufferedLineStream} = require './buffered'
 
-# Generates a random sock path.
-tmpSock = ->
-  pid  = process.pid
-  rand = Math.floor Math.random() * 10000000000
-  "/tmp/nack." + pid + "." + rand + ".sock"
-
 # **Process** manages a single Ruby worker process.
 #
 # A Process requires a path to a rackup config file _(config.ru)_.

# Public API for creating a **Process**
exports.createProcess = (args...) ->
  new Process args...

    else
      exec 'which nackup', (error, stdout, stderr) =>
        if error
          # Throw an exception if `nackup` isn't in the `PATH`.
          #
          # Probably need to `gem install nack` or fix shitty rubygems
          callback new Error "Couldn't find `nackup` in PATH"
        else
