Skip to content

Commit

Permalink
update the bundler version and ruby version
Browse files Browse the repository at this point in the history
  • Loading branch information
wendelfabianchinsamy committed Mar 28, 2024
1 parent 09741c4 commit 71bb5e2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Set up Ruby 3.1
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'
ruby-version: '3.1.4'
- uses: actions/cache@v3
with:
path: vendor/bundle
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Install
run: |
cp .env.build .env
gem install bundler -v 2.5.6
gem install bundler -v 2.4.20
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Lint and Test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/parallel_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Set up Ruby 3.1
uses: ruby/setup-ruby@v1
with:
ruby-version: "2.6"
ruby-version: "3.1.4"
bundler-cache: true

- name: Run Specs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Ruby 3.1
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'
ruby-version: '3.1.4'
- uses: actions/cache@v3
with:
path: vendor/bundle
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Install
run: |
cp .env.build .env
gem install bundler -v 2.5.6
gem install bundler -v 2.4.20
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Lint and Test
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM phusion/passenger-full:2.0.1
FROM phusion/passenger-full:2.5.1
LABEL maintainer="kgarza@datacite.org"

# Set correct environment variables.
Expand All @@ -12,7 +12,7 @@ RUN usermod -a -G docker_env app
CMD ["/sbin/my_init"]

# Use Ruby 3.1.4
RUN bash -lc 'rvm --default use ruby-2.6.8'
RUN bash -lc 'rvm --default use ruby-3.1.4'

# Update installed APT packages
RUN apt-get update && apt-get upgrade -y --allow-unauthenticated -o Dpkg::Options::="--force-confold" && \
Expand Down

0 comments on commit 71bb5e2

Please sign in to comment.