title: Rails capistrano set deploy.rb variables based on user logged in to computer
body: <p>I'm working on a project with multiple developers and currently we have to change the variables in our deploy.rb script depending on who's computer we're deploying from.</p>
  
  <p>How can we set the username and path/to/project depending on which computer we're on?</p>
  
  <p>We're all running on osx.</p>
  
  <p>Example</p>
  
  <pre><code>if osx logged in user == "jeff"
    set :user, "jeff's username'
  else if ...
    set :user, 'blah'
  end
  </code></pre>
  
  <p>How can i do this in rails/capistrano/osx?</p>