Skip to content

Commit ee1c87f

Browse files
committed
Use .tool-versions rather than .ruby-version
Bundler and most version managers support .tool-versions now so it's one less place to keep up to date
1 parent 23212f8 commit ee1c87f

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

.ruby-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN apt-get update \
2222
build-essential libpq-dev libxml2-dev libxslt1-dev git libyaml-dev \
2323
firefox-esr \
2424
&& rm -rf /var/lib/apt/lists/* /var/lib/apt/archives/*.deb
25-
COPY Gemfile Gemfile.lock .ruby-version /app/
25+
COPY Gemfile Gemfile.lock .tool-versions /app/
2626
RUN bundle config set bin '/usr/local/bundle/bin'
2727
RUN bundle install --jobs 4 \
2828
&& bundle binstubs --all \

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
source 'https://rubygems.org'
44
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
55

6-
ruby file: '.ruby-version'
6+
ruby file: '.tool-versions'
77

88
gem 'administrate', '~> 0.20.1'
99
gem 'administrate-field-active_storage'

0 commit comments

Comments
 (0)