From a3827cd848fcb4728fd4f2271c44c8960f07ed21 Mon Sep 17 00:00:00 2001 From: Joe Ferguson Date: Thu, 8 Oct 2015 10:08:02 -0700 Subject: [PATCH] Rails, no need to bundle install in the throw-away container --- rails/content.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rails/content.md b/rails/content.md index 9e00c7aa5..ca7fa1106 100644 --- a/rails/content.md +++ b/rails/content.md @@ -47,7 +47,7 @@ $ docker run --rm -v "$PWD":/usr/src/app -w /usr/src/app ruby:2.1 bundle install If you want to generate the scaffolding for a new Rails project, you can do the following: ```console -$ docker run -it --rm --user "$(id -u):$(id -g)" -v "$PWD":/usr/src/app -w /usr/src/app rails rails new webapp +$ docker run -it --rm --user "$(id -u):$(id -g)" -v "$PWD":/usr/src/app -w /usr/src/app rails rails new --skip-bundle webapp ``` This will create a sub-directory named `webapp` inside your current directory.