Skip to content

Commit 7266262

Browse files
committed
Merge pull request #63 from blackxored/silence-bundler-root-warning-by-default
Silence bundler's root warning by default
2 parents b8e8fe0 + 81a9cce commit 7266262

File tree

8 files changed

+16
-8
lines changed

8 files changed

+16
-8
lines changed

2.0/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ ENV BUNDLER_VERSION 1.11.2
3535

3636
RUN gem install bundler --version "$BUNDLER_VERSION" \
3737
&& bundle config --global path "$GEM_HOME" \
38-
&& bundle config --global bin "$GEM_HOME/bin"
38+
&& bundle config --global bin "$GEM_HOME/bin" \
39+
&& bundle config --global silence_root_warning true
3940

4041
# don't create ".bundle" in all our apps
4142
ENV BUNDLE_APP_CONFIG $GEM_HOME

2.0/slim/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ ENV BUNDLER_VERSION 1.11.2
6363

6464
RUN gem install bundler --version "$BUNDLER_VERSION" \
6565
&& bundle config --global path "$GEM_HOME" \
66-
&& bundle config --global bin "$GEM_HOME/bin"
66+
&& bundle config --global bin "$GEM_HOME/bin" \
67+
&& bundle config --global silence_root_warning true
6768

6869
# don't create ".bundle" in all our apps
6970
ENV BUNDLE_APP_CONFIG $GEM_HOME

2.1/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ ENV BUNDLER_VERSION 1.11.2
3535

3636
RUN gem install bundler --version "$BUNDLER_VERSION" \
3737
&& bundle config --global path "$GEM_HOME" \
38-
&& bundle config --global bin "$GEM_HOME/bin"
38+
&& bundle config --global bin "$GEM_HOME/bin" \
39+
&& bundle config --global silence_root_warning true
3940

4041
# don't create ".bundle" in all our apps
4142
ENV BUNDLE_APP_CONFIG $GEM_HOME

2.1/slim/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ ENV BUNDLER_VERSION 1.11.2
6363

6464
RUN gem install bundler --version "$BUNDLER_VERSION" \
6565
&& bundle config --global path "$GEM_HOME" \
66-
&& bundle config --global bin "$GEM_HOME/bin"
66+
&& bundle config --global bin "$GEM_HOME/bin" \
67+
&& bundle config --global silence_root_warning true
6768

6869
# don't create ".bundle" in all our apps
6970
ENV BUNDLE_APP_CONFIG $GEM_HOME

2.2/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ ENV BUNDLER_VERSION 1.11.2
3535

3636
RUN gem install bundler --version "$BUNDLER_VERSION" \
3737
&& bundle config --global path "$GEM_HOME" \
38-
&& bundle config --global bin "$GEM_HOME/bin"
38+
&& bundle config --global bin "$GEM_HOME/bin" \
39+
&& bundle config --global silence_root_warning true
3940

4041
# don't create ".bundle" in all our apps
4142
ENV BUNDLE_APP_CONFIG $GEM_HOME

2.2/slim/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ ENV BUNDLER_VERSION 1.11.2
6363

6464
RUN gem install bundler --version "$BUNDLER_VERSION" \
6565
&& bundle config --global path "$GEM_HOME" \
66-
&& bundle config --global bin "$GEM_HOME/bin"
66+
&& bundle config --global bin "$GEM_HOME/bin" \
67+
&& bundle config --global silence_root_warning true
6768

6869
# don't create ".bundle" in all our apps
6970
ENV BUNDLE_APP_CONFIG $GEM_HOME

2.3/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ ENV BUNDLER_VERSION 1.11.2
3535

3636
RUN gem install bundler --version "$BUNDLER_VERSION" \
3737
&& bundle config --global path "$GEM_HOME" \
38-
&& bundle config --global bin "$GEM_HOME/bin"
38+
&& bundle config --global bin "$GEM_HOME/bin" \
39+
&& bundle config --global silence_root_warning true
3940

4041
# don't create ".bundle" in all our apps
4142
ENV BUNDLE_APP_CONFIG $GEM_HOME

2.3/slim/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ ENV BUNDLER_VERSION 1.11.2
6363

6464
RUN gem install bundler --version "$BUNDLER_VERSION" \
6565
&& bundle config --global path "$GEM_HOME" \
66-
&& bundle config --global bin "$GEM_HOME/bin"
66+
&& bundle config --global bin "$GEM_HOME/bin" \
67+
&& bundle config --global silence_root_warning true
6768

6869
# don't create ".bundle" in all our apps
6970
ENV BUNDLE_APP_CONFIG $GEM_HOME

0 commit comments

Comments
 (0)