Created
February 24, 2012 04:13
-
-
Save danp/1897546 to your computer and use it in GitHub Desktop.
bundler as virtualenv!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p bin | |
bundle exec bash -c 'cat > bin/activate <<EOF | |
#!/bin/sh | |
export BUNDLE_BIN_PATH="$BUNDLE_BIN_PATH" | |
export PATH="$PATH" | |
export BUNDLE_GEMFILE="$BUNDLE_GEMFILE" | |
export RUBYOPT="$RUBYOPT" | |
EOF' | |
source bin/activate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment