From: albertogg Date: Thu, 24 Apr 2014 01:24:05 +0000 (-0430) Subject: Fix gem configuration path X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=abd346c71efe5fd4e68bbb67a6315b6ed007710b;p=discourse_docker.git Fix gem configuration path Stop gem from installing gems documentation globally. --- diff --git a/image/base/Dockerfile b/image/base/Dockerfile index b67dca7..f7d1ded 100644 --- a/image/base/Dockerfile +++ b/image/base/Dockerfile @@ -36,7 +36,7 @@ RUN echo "debconf debconf/frontend select Teletype" | debconf-set-selections &&\ dpkg-divert --local --rename --add /sbin/initctl &&\ sh -c "test -f /sbin/initctl || ln -s /bin/true /sbin/initctl" &&\ apt-get -y install redis-server haproxy openssh-server &&\ - echo 'gem: --no-document' >> /etc/gemrc &&\ + echo 'gem: --no-document' >> /usr/local/etc/gemrc &&\ mkdir /src && cd /src && git clone https://github.com/sstephenson/ruby-build.git &&\ cd /src/ruby-build && ./install.sh &&\ cd / && rm -rf /src/ruby-build && ruby-build 2.0.0-p451 /usr/local &&\