Skip to content

Commit

Permalink
Revert "update to ruby 2.5.1 (#170)"
Browse files Browse the repository at this point in the history
This reverts commit 70f35d9.

doesn't work
  • Loading branch information
abid123456 committed Oct 29, 2024
1 parent 70f35d9 commit 3ba4b24
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5.1
ruby-version: 2.5.0
- run: |
bundle install
- name: Deploy to production
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5.1
ruby-version: 2.5.0
- run: |
bundle install --without production development
- env:
Expand All @@ -51,7 +51,7 @@ jobs:
- name: Setup Ruby and install gems
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5.1
ruby-version: 2.5.0
- run: |
bundle install --without production development
- name: Run rubocop
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: ruby
cache: bundler
rvm: 2.5.1
rvm: 2.5.0
bundler_args: "--without production development"
services: postgresql

Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ git_source(:github) { |name| "https://github.com/#{name}.git" }
### BASICS

# Ruby version
ruby '2.5.1'
ruby '2.5.0'
# Rails version
gem 'rails', '~> 4'
# Use postgres as database
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ DEPENDENCIES
wkhtmltopdf-binary

RUBY VERSION
ruby 2.5.1
ruby 2.5.0p0

BUNDLED WITH
1.17.3
4 changes: 2 additions & 2 deletions scripts/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ su ubuntu <<'EOF'
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
curl -sSL https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
rvm install 2.5.1
rvm use 2.5.1 --default
rvm install 2.5.0
rvm use 2.5.0 --default
gem install bundler
cd /vagrant
cp config/database.yml.default config/database.yml
Expand Down

0 comments on commit 3ba4b24

Please sign in to comment.