File tree Expand file tree Collapse file tree 25 files changed +50
-25
lines changed Expand file tree Collapse file tree 25 files changed +50
-25
lines changed Original file line number Diff line number Diff line change @@ -124,10 +124,11 @@ RUN set -eux; \
124
124
# install things globally, for great justice
125
125
# and don't create ".bundle" in all our apps
126
126
ENV GEM_HOME /usr/local/bundle
127
+ ENV GEM_PATH $GEM_HOME/ruby/$RUBY_MAJOR.0:$GEM_PATH
127
128
ENV BUNDLE_PATH="$GEM_HOME" \
128
129
BUNDLE_SILENCE_ROOT_WARNING=1 \
129
130
BUNDLE_APP_CONFIG="$GEM_HOME"
130
- ENV PATH $GEM_HOME/bin:$PATH
131
+ ENV PATH $GEM_HOME/bin:$GEM_HOME/ruby/$RUBY_MAJOR.0/bin:$ PATH
131
132
# adjust permissions of a few directories for running "gem install" as an arbitrary user
132
133
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
133
134
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
Original file line number Diff line number Diff line change @@ -124,10 +124,11 @@ RUN set -eux; \
124
124
# install things globally, for great justice
125
125
# and don't create ".bundle" in all our apps
126
126
ENV GEM_HOME /usr/local/bundle
127
+ ENV GEM_PATH $GEM_HOME/ruby/$RUBY_MAJOR.0:$GEM_PATH
127
128
ENV BUNDLE_PATH="$GEM_HOME" \
128
129
BUNDLE_SILENCE_ROOT_WARNING=1 \
129
130
BUNDLE_APP_CONFIG="$GEM_HOME"
130
- ENV PATH $GEM_HOME/bin:$PATH
131
+ ENV PATH $GEM_HOME/bin:$GEM_HOME/ruby/$RUBY_MAJOR.0/bin:$ PATH
131
132
# adjust permissions of a few directories for running "gem install" as an arbitrary user
132
133
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
133
134
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
Original file line number Diff line number Diff line change @@ -83,10 +83,11 @@ RUN set -eux; \
83
83
# install things globally, for great justice
84
84
# and don't create ".bundle" in all our apps
85
85
ENV GEM_HOME /usr/local/bundle
86
+ ENV GEM_PATH $GEM_HOME/ruby/$RUBY_MAJOR.0:$GEM_PATH
86
87
ENV BUNDLE_PATH="$GEM_HOME" \
87
88
BUNDLE_SILENCE_ROOT_WARNING=1 \
88
89
BUNDLE_APP_CONFIG="$GEM_HOME"
89
- ENV PATH $GEM_HOME/bin:$PATH
90
+ ENV PATH $GEM_HOME/bin:$GEM_HOME/ruby/$RUBY_MAJOR.0/bin:$ PATH
90
91
# adjust permissions of a few directories for running "gem install" as an arbitrary user
91
92
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
92
93
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
Original file line number Diff line number Diff line change @@ -109,10 +109,11 @@ RUN set -eux; \
109
109
# install things globally, for great justice
110
110
# and don't create ".bundle" in all our apps
111
111
ENV GEM_HOME /usr/local/bundle
112
+ ENV GEM_PATH $GEM_HOME/ruby/$RUBY_MAJOR.0:$GEM_PATH
112
113
ENV BUNDLE_PATH="$GEM_HOME" \
113
114
BUNDLE_SILENCE_ROOT_WARNING=1 \
114
115
BUNDLE_APP_CONFIG="$GEM_HOME"
115
- ENV PATH $GEM_HOME/bin:$PATH
116
+ ENV PATH $GEM_HOME/bin:$GEM_HOME/ruby/$RUBY_MAJOR.0/bin:$ PATH
116
117
# adjust permissions of a few directories for running "gem install" as an arbitrary user
117
118
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
118
119
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
Original file line number Diff line number Diff line change @@ -83,10 +83,11 @@ RUN set -eux; \
83
83
# install things globally, for great justice
84
84
# and don't create ".bundle" in all our apps
85
85
ENV GEM_HOME /usr/local/bundle
86
+ ENV GEM_PATH $GEM_HOME/ruby/$RUBY_MAJOR.0:$GEM_PATH
86
87
ENV BUNDLE_PATH="$GEM_HOME" \
87
88
BUNDLE_SILENCE_ROOT_WARNING=1 \
88
89
BUNDLE_APP_CONFIG="$GEM_HOME"
89
- ENV PATH $GEM_HOME/bin:$PATH
90
+ ENV PATH $GEM_HOME/bin:$GEM_HOME/ruby/$RUBY_MAJOR.0/bin:$ PATH
90
91
# adjust permissions of a few directories for running "gem install" as an arbitrary user
91
92
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
92
93
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
Original file line number Diff line number Diff line change @@ -108,10 +108,11 @@ RUN set -eux; \
108
108
# install things globally, for great justice
109
109
# and don't create ".bundle" in all our apps
110
110
ENV GEM_HOME /usr/local/bundle
111
+ ENV GEM_PATH $GEM_HOME/ruby/$RUBY_MAJOR.0:$GEM_PATH
111
112
ENV BUNDLE_PATH="$GEM_HOME" \
112
113
BUNDLE_SILENCE_ROOT_WARNING=1 \
113
114
BUNDLE_APP_CONFIG="$GEM_HOME"
114
- ENV PATH $GEM_HOME/bin:$PATH
115
+ ENV PATH $GEM_HOME/bin:$GEM_HOME/ruby/$RUBY_MAJOR.0/bin:$ PATH
115
116
# adjust permissions of a few directories for running "gem install" as an arbitrary user
116
117
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
117
118
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
Original file line number Diff line number Diff line change @@ -124,10 +124,11 @@ RUN set -eux; \
124
124
# install things globally, for great justice
125
125
# and don't create ".bundle" in all our apps
126
126
ENV GEM_HOME /usr/local/bundle
127
+ ENV GEM_PATH $GEM_HOME/ruby/$RUBY_MAJOR.0:$GEM_PATH
127
128
ENV BUNDLE_PATH="$GEM_HOME" \
128
129
BUNDLE_SILENCE_ROOT_WARNING=1 \
129
130
BUNDLE_APP_CONFIG="$GEM_HOME"
130
- ENV PATH $GEM_HOME/bin:$PATH
131
+ ENV PATH $GEM_HOME/bin:$GEM_HOME/ruby/$RUBY_MAJOR.0/bin:$ PATH
131
132
# adjust permissions of a few directories for running "gem install" as an arbitrary user
132
133
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
133
134
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
Original file line number Diff line number Diff line change @@ -124,10 +124,11 @@ RUN set -eux; \
124
124
# install things globally, for great justice
125
125
# and don't create ".bundle" in all our apps
126
126
ENV GEM_HOME /usr/local/bundle
127
+ ENV GEM_PATH $GEM_HOME/ruby/$RUBY_MAJOR.0:$GEM_PATH
127
128
ENV BUNDLE_PATH="$GEM_HOME" \
128
129
BUNDLE_SILENCE_ROOT_WARNING=1 \
129
130
BUNDLE_APP_CONFIG="$GEM_HOME"
130
- ENV PATH $GEM_HOME/bin:$PATH
131
+ ENV PATH $GEM_HOME/bin:$GEM_HOME/ruby/$RUBY_MAJOR.0/bin:$ PATH
131
132
# adjust permissions of a few directories for running "gem install" as an arbitrary user
132
133
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
133
134
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
Original file line number Diff line number Diff line change @@ -83,10 +83,11 @@ RUN set -eux; \
83
83
# install things globally, for great justice
84
84
# and don't create ".bundle" in all our apps
85
85
ENV GEM_HOME /usr/local/bundle
86
+ ENV GEM_PATH $GEM_HOME/ruby/$RUBY_MAJOR.0:$GEM_PATH
86
87
ENV BUNDLE_PATH="$GEM_HOME" \
87
88
BUNDLE_SILENCE_ROOT_WARNING=1 \
88
89
BUNDLE_APP_CONFIG="$GEM_HOME"
89
- ENV PATH $GEM_HOME/bin:$PATH
90
+ ENV PATH $GEM_HOME/bin:$GEM_HOME/ruby/$RUBY_MAJOR.0/bin:$ PATH
90
91
# adjust permissions of a few directories for running "gem install" as an arbitrary user
91
92
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
92
93
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
Original file line number Diff line number Diff line change @@ -109,10 +109,11 @@ RUN set -eux; \
109
109
# install things globally, for great justice
110
110
# and don't create ".bundle" in all our apps
111
111
ENV GEM_HOME /usr/local/bundle
112
+ ENV GEM_PATH $GEM_HOME/ruby/$RUBY_MAJOR.0:$GEM_PATH
112
113
ENV BUNDLE_PATH="$GEM_HOME" \
113
114
BUNDLE_SILENCE_ROOT_WARNING=1 \
114
115
BUNDLE_APP_CONFIG="$GEM_HOME"
115
- ENV PATH $GEM_HOME/bin:$PATH
116
+ ENV PATH $GEM_HOME/bin:$GEM_HOME/ruby/$RUBY_MAJOR.0/bin:$ PATH
116
117
# adjust permissions of a few directories for running "gem install" as an arbitrary user
117
118
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
118
119
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
You can’t perform that action at this time.
0 commit comments