From ac8865b92bfded89c1bf4488832b4dda67f82723 Mon Sep 17 00:00:00 2001 From: Sven Efftinge Date: Mon, 2 Dec 2019 21:07:23 +0100 Subject: [PATCH] Disable .ruby-version dependency on GitPod (#4979) --- .gitpod.dockerfile | 6 ++---- README.md | 3 +++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitpod.dockerfile b/.gitpod.dockerfile index 260e625f8..97ccc9aba 100644 --- a/.gitpod.dockerfile +++ b/.gitpod.dockerfile @@ -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/* diff --git a/README.md b/README.md index 84591d520..880c63292 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,9 @@ CodeTriage badge Dependabot Badge + + +

Welcome to the [dev.to](https://dev.to) codebase. We are so excited to have you.