Skip to content

Commit

Permalink
Pin ruby to 2.7.3 in .gitpod.dockerfile (publiclab#10630)
Browse files Browse the repository at this point in the history
  • Loading branch information
jywarren authored Jan 11, 2022
1 parent d3e1361 commit 54b349c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitpod.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ RUN sudo apt-get update \
&& sudo apt-get install -y \
redis-server \
&& sudo rm -rf /var/lib/apt/lists/

# Install Ruby version 2.7.3 and set it as default
RUN echo "rvm_gems_path=/home/gitpod/.rvm" > ~/.rvmrc
RUN bash -lc "rvm install ruby-2.7.3 && rvm use ruby-ruby-2.7.3 --default"
RUN echo "rvm_gems_path=/workspace/.rvm" > ~/.rvmrc

0 comments on commit 54b349c

Please sign in to comment.