Skip to content

Instantly share code, notes, and snippets.

@mvoropaiev
Created May 17, 2016 11:43
Show Gist options
  • Save mvoropaiev/54a6dd68d6109a49ae9244b3ffb0131a to your computer and use it in GitHub Desktop.
Save mvoropaiev/54a6dd68d6109a49ae9244b3ffb0131a to your computer and use it in GitHub Desktop.
docker run \
--rm \
--volume "$PWD":/usr/src/app \
--volume "$PWD/.bundle":/usr/local/bundle \
-w /usr/src/app \
ruby \
bash -c "bundle check || bundle install"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment