Disable .ruby-version dependency on GitPod (#4979)

This commit is contained in:
Sven Efftinge 2019-12-02 21:07:23 +01:00 committed by Mac Siri
parent b5f5ba0cb2
commit ac8865b92b
2 changed files with 5 additions and 4 deletions

View file

@ -1,8 +1,6 @@
FROM gitpod/workspace-postgres
# The below variable is to be modified to trigger a Dockerfile rebuild (this is in YYYY-MM-DD format)
ENV IMAGE_BUILD_DATE=2019-11-3
# Install Ruby
COPY .ruby-version /tmp
RUN bash -lc "rvm install ruby-$(cat /tmp/.ruby-version)" \
ENV RUBY_VERSION=2.6.5
RUN bash -lc "rvm install ruby-$RUBY_VERSION && rvm use ruby-$RUBY_VERSION --default" \
&& rm -f /tmp/*

View file

@ -28,6 +28,9 @@
<img src="https://www.codetriage.com/thepracticaldev/dev.to/badges/users.svg" alt="CodeTriage badge">
</a>
<img src="https://flat.badgen.net/dependabot/thepracticaldev/dev.to?icon=dependabot" alt="Dependabot Badge" />
<a href="https://gitpod.io/from-referrer/">
<img src="https://img.shields.io/badge/setup-automated-blue?logo=gitpod"/>
</a>
</p>
Welcome to the [dev.to](https://dev.to) codebase. We are so excited to have you.