diff --git a/requirements/system/ubuntu/apt-packages.txt b/requirements/system/ubuntu/apt-packages.txt index 2635388757..ef659f7113 100644 --- a/requirements/system/ubuntu/apt-packages.txt +++ b/requirements/system/ubuntu/apt-packages.txt @@ -1,8 +1,10 @@ +ruby-rvm +curl python-software-properties pkg-config -curl git python-virtualenv +virtualenvwraper build-essential python-dev gfortran diff --git a/scripts/create-dev-env.sh b/scripts/create-dev-env.sh index b3654e0b3b..afa2acd670 100755 --- a/scripts/create-dev-env.sh +++ b/scripts/create-dev-env.sh @@ -380,7 +380,15 @@ export WORKON_HOME=$PYTHON_DIR # Load in the mkvirtualenv function if needed if [[ `type -t mkvirtualenv` != "function" ]]; then - source `which virtualenvwrapper.sh` + case `uname -s` in + Darwin) + source `which virtualenvwrapper.sh` + ;; + + *) + source /etc/bash_completion.d/virtualenvwrapper + ;; + esac fi # Create edX virtualenv and link it to repo