We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ddca4b commit e7af3d9Copy full SHA for e7af3d9
1 file changed
1.7/Dockerfile
@@ -8,6 +8,13 @@ ENV PATH /opt/jruby/bin:$PATH
8
9
RUN echo 'gem: --no-rdoc --no-ri' >> /.gemrc
10
11
-RUN gem install bundler
+ENV GEM_HOME /usr/local/bundle
12
+ENV PATH $GEM_HOME/bin:$PATH
13
+RUN gem install bundler \
14
+ && bundle config --global path "$GEM_HOME" \
15
+ && bundle config --global bin "$GEM_HOME/bin"
16
+
17
+# don't create ".bundle" in all our apps
18
+ENV BUNDLE_APP_CONFIG $GEM_HOME
19
20
CMD [ "irb" ]
0 commit comments