Skip to content

Instantly share code, notes, and snippets.

@nickhammond
Created October 24, 2011 04:39
Show Gist options
  • Save nickhammond/1308382 to your computer and use it in GitHub Desktop.
Save nickhammond/1308382 to your computer and use it in GitHub Desktop.
Clone a git repository, cd into and run bundle install
function clinstall(){
echo "Cloning repository, cd'ing into it and running bundle install..."
filename=$(basename $1)
filename=${filename%.*}
git clone $1 && cd "$filename" && bundle install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment