Skip to content

Commit

Permalink
Merge pull request #142 from crosscite/add_bundler_version
Browse files Browse the repository at this point in the history
Fixed the bundler version as new rubygems is not supporting ruby 2.6
  • Loading branch information
ashwinisukale authored Dec 19, 2023
2 parents 7f25529 + b883b9e commit 43cd538
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
MYSQL_PORT: ${{ job.services.mysql.ports[3306] }}
run: |
cp .env.build .env
gem install bundler -v 2.1.4
gem install bundler -v 2.4.22
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/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
MYSQL_PORT: ${{ job.services.mysql.ports[3306] }}
run: |
cp .env.build .env
gem install bundler -v 2.1.4
gem install bundler -v 2.4.22
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/stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
MYSQL_PORT: ${{ job.services.mysql.ports[3306] }}
run: |
cp .env.build .env
gem install bundler -v 2.1.4
gem install bundler -v 2.4.22
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
Expand Up @@ -35,8 +35,8 @@ WORKDIR /home/app/webapp
RUN mkdir -p vendor/bundle && \
chown -R app:app . && \
chmod -R 755 . && \
gem update --system 3.0.8 && \
gem install bundler -v 2.1.4 && \
gem update --system 3.4.22 && \
gem install bundler -v 2.4.22 && \
/sbin/setuser app bundle install --path vendor/bundle

# Copy webapp folder
Expand Down
2 changes: 1 addition & 1 deletion bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ chdir APP_ROOT do
# Add necessary setup steps to this file.

puts '== Installing dependencies =='
system! 'gem install bundler --conservative'
system! 'gem install bundler -v 2.4.22 --conservative'
system('bundle check') || system!('bundle install')

# puts "\n== Copying sample files =="
Expand Down
2 changes: 1 addition & 1 deletion bin/update
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ chdir APP_ROOT do
# Add necessary update steps to this file.

puts '== Installing dependencies =='
system! 'gem install bundler --conservative'
system! 'gem install bundler -v 2.4.22 --conservative'
system('bundle check') || system!('bundle install')

puts "\n== Updating database =="
Expand Down

0 comments on commit 43cd538

Please sign in to comment.