From 3ba4b2419d75f747f7e3d9cb2b5f9e9afd4ff2c8 Mon Sep 17 00:00:00 2001 From: abid123456 Date: Wed, 30 Oct 2024 06:53:47 +0700 Subject: [PATCH] Revert "update to ruby 2.5.1 (#170)" This reverts commit 70f35d97f782c3bc0e7a5e91407bff5ceee35000. doesn't work --- .github/workflows/deploy.yml | 2 +- .github/workflows/ruby.yml | 4 ++-- .travis.yml | 2 +- Gemfile | 2 +- Gemfile.lock | 2 +- scripts/provision.sh | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f8313fc1..87f3ba49 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 96016473..d49fab9f 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -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: @@ -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 diff --git a/.travis.yml b/.travis.yml index 31399ea5..fba8e8ca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: ruby cache: bundler -rvm: 2.5.1 +rvm: 2.5.0 bundler_args: "--without production development" services: postgresql diff --git a/Gemfile b/Gemfile index 6e646859..800a87fe 100644 --- a/Gemfile +++ b/Gemfile @@ -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 diff --git a/Gemfile.lock b/Gemfile.lock index 4e65b554..1eec0e97 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -436,7 +436,7 @@ DEPENDENCIES wkhtmltopdf-binary RUBY VERSION - ruby 2.5.1 + ruby 2.5.0p0 BUNDLED WITH 1.17.3 diff --git a/scripts/provision.sh b/scripts/provision.sh index 7e4df383..dd9ef340 100644 --- a/scripts/provision.sh +++ b/scripts/provision.sh @@ -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