Skip to content

Installing with Phusion Passenger

tonytopper edited this page Jan 11, 2012 · 2 revisions

There are a couple of gotchas to keep in mind when running Webistrano with Passenger, specifically related to git.

When passenger tries to run git, it runs under the context that apache runs under. So it may fail since it can’t find git in the path. Macports and homebrew install git to a non default-path location (i.e., /usr/bin). The easy fix is to symlink git to /usr/bin:

  • For homebrew:
    sudo ln -s /usr/local/bin/git /usr/bin/git
  • For macports:
    sudo ln -s /opt/local/bin/git /usr/bin/git

There’s also the issue of your ssh keys. Add the following to the root (or appropriate user) ssh config (.ssh/config):


Host git.assembla.com
        IdentityFile ~/.ssh/deploy.id_rsa
        StrictHostKeyChecking no
Clone this wiki locally