Skip to content

Commit

Permalink
Merge pull request doubtfire-lms#356 from doubtfire-lms/config/ruby-3
Browse files Browse the repository at this point in the history
Update to Ruby 3.1
  • Loading branch information
macite authored Jan 9, 2022
2 parents 77ccee4 + 8dca0bb commit efce345
Show file tree
Hide file tree
Showing 22 changed files with 216 additions and 280 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:2.6.7-buster
FROM ruby:3.1-buster

# DEBIAN_FRONTEND=noninteractive is required to install tzdata in non interactive way
ENV DEBIAN_FRONTEND noninteractive
Expand Down
10 changes: 6 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ source 'https://rubygems.org'

# Ruby versions for various enviornments
ruby_versions = {
development: '~>2.6.7',
test: '~>2.6.7',
staging: '~>2.6.7',
production: '~>2.6.7'
development: '~>3.1.0',
test: '~>3.1.0',
staging: '~>3.1.0',
production: '~>3.1.0'
}
# Get the ruby version for the current enviornment
ruby ruby_versions[(ENV['RAILS_ENV'] || 'development').to_sym]
Expand Down Expand Up @@ -89,3 +89,5 @@ gem 'roo-xls'
gem 'icalendar', '~> 2.5', '>= 2.5.3'

gem 'rest-client', '~> 2.0'

gem 'net-smtp', require: false
Loading

0 comments on commit efce345

Please sign in to comment.