Skip to content

Instantly share code, notes, and snippets.

@andreleoni
Last active August 26, 2017 02:38
Show Gist options
  • Save andreleoni/3a0131e827e18589975d2bef92b84cd0 to your computer and use it in GitHub Desktop.
Save andreleoni/3a0131e827e18589975d2bef92b84cd0 to your computer and use it in GitHub Desktop.
create rails project by docker
docker run -it --rm --user "$(id -u):$(id -g)" -v "$PWD":/usr/src/app -w /usr/src/app rails rails new --skip-bundle my_app --database=postgresql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment