Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2108 by Cannot run rbssh: No such file or directory; /usr/local/bin not in env path

* NOTE: Do not post confidential information in this bug report. *
*       If you need immediate support, please contact            *
*                             *

What version are you running?
1.5, 1.6beta2

What's the URL of the page containing the problem?

What steps will reproduce the problem?
1. Install rb with either easy_install or, and lighthttpd
2. try adding a private github repo

What is the expected output? What do you see instead?

The reviewboard.log says:
2011-05-22 18:52:49,935 - INFO - Authentication (publickey) successful!
2011-05-22 18:52:50,036 - DEBUG - EOF in transport thread
2011-05-22 18:52:50,070 - ERROR - Git: Failed to find valid repository <REDACTED>: error: cannot run rbssh: No such file or directory
fatal: unable to fork

Printing out the ENV in SCMTool.popen() shows /usr/local/bin isn't in $PATH but that's where rbssh is.

Work around: Creating a symlink (ln -sf /usr/local/bin/rbssh /usr/bin/rbssh) gets around the problem.

Suggested solution: install path and env path should match, or display a nicer error message.

What operating system are you using? What browser?
Ubuntu 10.0, Python 2.6.6

Please provide any additional information below.

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to