fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fab-user] workon


From: Jiri Barton
Subject: [Fab-user] workon
Date: Sun, 13 Mar 2011 21:58:20 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15pre) Gecko/20110207 Shredder/3.1.9pre

Hello everyone,

forgive my ignorance, I seem to have a problem with my remote bash settings or what. What should I set in order for workon to work?

My remote system is Ubuntu with my .bashrc ending like this:

export WORKON_HOME=~/envs
. /usr/local/bin/virtualenvwrapper.sh

My .profile ends with sourcing .bashrc.


I'm trying to run django-admin.py in my virtualenv durking deploy. I don't know what I'm doing wrong here but I just can't get the example from the docs to work:

with('workon mymy'):
    run('ls')

Fatal error: run() encountered an error (return code 127) while executing 'ls'

I don't even get to work this:

run('workon mymy')

bash: workon: command not found


Of course, the commands work fine if I log in to the remote system manually with ssh.

Please help.
Jiri





reply via email to

[Prev in Thread] Current Thread [Next in Thread]