Skip to content

Instantly share code, notes, and snippets.

@gregawoods
Created April 18, 2014 02:37
Show Gist options
  • Save gregawoods/11022019 to your computer and use it in GitHub Desktop.
Save gregawoods/11022019 to your computer and use it in GitHub Desktop.
bundle install all the things
#!/bin/bash
websites=/srv/sites
cd $websites
for dir in $(find . -maxdepth 1 -type d)
do
cd $dir
pwd
bundle install --deployment
cd $websites
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment