Skip to content

Commit

Permalink
Update Ruby to 2.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
glacials committed Jan 7, 2020
1 parent 5b82786 commit a94c61a
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ ENV BUNDLE_BIN $BUNDLE_PATH/bin
ENV PATH /app/bin:$BUNDLE_BIN:$PATH

RUN gem update --system
RUN gem install bundler -v 2.1.0

RUN mkdir -p /app
WORKDIR /app
Expand Down
1 change: 0 additions & 1 deletion Dockerfile-production
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ ENV RAILS_ENV=production
ENV NODE_ENV=production

RUN gem update --system
RUN gem install bundler -v 2.1.0

RUN mkdir -p /app
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
source 'https://rubygems.org'
ruby '2.6.5'
ruby '2.7.0'

git_source(:github) { |repo| "https://github.com/#{repo}.git" }

Expand Down
2 changes: 1 addition & 1 deletion docker-compose-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ x-app: &app
cache_from:
- "${REPOSITORY_URI:-splitsio-production}:latest"
args:
RUBY_VERSION: '2.6.5' # also update docker-compose.yml & Gemfile
RUBY_VERSION: '2.7.0' # also update docker-compose.yml & Gemfile
SPLITSIO_CLIENT_ID: $SPLITSIO_CLIENT_ID
STRIPE_PUBLISHABLE_KEY: $STRIPE_PUBLISHABLE_KEY
environment: *server-environment
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ x-app: &app
cache_from:
- "${REPOSITORY_URI:-splitsio-dev}:latest"
args:
RUBY_VERSION: '2.6.5' # also update docker-compose-production.yml & Gemfile
RUBY_VERSION: '2.7.0' # also update docker-compose-production.yml & Gemfile
image: splitsio-dev
tmpfs:
- /tmp
Expand Down

0 comments on commit a94c61a

Please sign in to comment.