Skip to content

Commit

Permalink
ruby v3.0 update
Browse files Browse the repository at this point in the history
  • Loading branch information
alexskr committed Mar 5, 2024
1 parent b5bc460 commit 42bdc77
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 17 deletions.
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ COPY Gemfile* *.gemspec /srv/ontoportal/ncbo_cron/

WORKDIR /srv/ontoportal/ncbo_cron

# set rubygem and bundler to the last version supported by ruby 2.7
# remove version after ruby v3 upgrade
RUN gem update --system '3.4.22'
RUN gem install bundler -v '2.4.22'
RUN gem update --system
RUN gem install bundler
ENV BUNDLE_PATH=/srv/ontoportal/bundle
Expand Down
23 changes: 12 additions & 11 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ GIT

GIT
remote: https://github.com/ncbo/ncbo_annotator.git
revision: b111a1d5b61d112ad6752f17d3ad94c9c3cf69db
revision: fe0783c542479ed0a12da5663ef28e1673e80eba
branch: develop
specs:
ncbo_annotator (0.0.1)
Expand All @@ -26,7 +26,7 @@ GIT

GIT
remote: https://github.com/ncbo/ontologies_linked_data.git
revision: 2575a6ecf62f6f1161f103429fc278939630ad87
revision: b78284bac1a2d9c7b04245e55f3708de5dfe591e
branch: develop
specs:
ontologies_linked_data (0.0.1)
Expand Down Expand Up @@ -93,11 +93,10 @@ GEM
htmlentities (~> 4.3.3)
launchy (~> 2.1)
mail (~> 2.7)
faraday (2.8.1)
base64
faraday-net_http (>= 2.0, < 3.1)
ruby2_keywords (>= 0.0.4)
faraday-net_http (3.0.2)
faraday (2.9.0)
faraday-net_http (>= 2.0, < 3.2)
faraday-net_http (3.1.0)
net-http
faraday-retry (2.2.0)
faraday (~> 2.0)
ffi (1.16.3)
Expand Down Expand Up @@ -183,8 +182,10 @@ GEM
mlanett-redis-lock (0.2.7)
redis
multi_json (1.15.0)
net-http (0.4.1)
uri
net-http-persistent (2.9.4)
net-imap (0.3.7)
net-imap (0.4.10)
date
net-protocol
net-pop (0.1.2)
Expand Down Expand Up @@ -214,7 +215,7 @@ GEM
addressable (>= 2.2)
redis (5.1.0)
redis-client (>= 0.17.0)
redis-client (0.20.0)
redis-client (0.21.0)
connection_pool
representable (3.2.0)
declarative (< 0.1.0)
Expand All @@ -231,7 +232,6 @@ GEM
builder (>= 2.1.2)
faraday (>= 0.9, < 3, != 2.0.0)
ruby-xxHash (0.4.0.2)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
rufus-scheduler (2.0.24)
tzinfo (>= 0.3.22)
Expand Down Expand Up @@ -259,6 +259,7 @@ GEM
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
uber (0.1.0)
uri (0.13.0)
uuid (2.3.9)
macaddr (~> 1.0)
webrick (1.8.1)
Expand Down Expand Up @@ -294,4 +295,4 @@ DEPENDENCIES
webrick

BUNDLED WITH
2.3.15
2.5.6
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ x-app: &app
build:
context: .
args:
RUBY_VERSION: '2.7'
RUBY_VERSION: '3.0'
# Increase the version number in the image tag every time Dockerfile or its arguments is changed
image: ncbo_cron:0.0.2
image: ncbo_cron:0.0.3
environment: &env
BUNDLE_PATH: /srv/ontoportal/bundle
# default bundle config resolves to /usr/local/bundle/config inside of the container
Expand Down

0 comments on commit 42bdc77

Please sign in to comment.