From fa3542e23f9b5d9b91f843fd26840195f7b1befe Mon Sep 17 00:00:00 2001 From: Andy Duong Date: Wed, 15 Feb 2023 17:36:17 +0700 Subject: [PATCH] [gh383] Downgrade ruby to 3.0.5 --- .github/workflows/test_production_build.yml | 2 +- .github/workflows/test_template.yml | 2 +- .github/workflows/test_variants.yml | 2 +- .tool-versions | 2 +- README.md | 2 +- template.rb | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test_production_build.yml b/.github/workflows/test_production_build.yml index 156aed98..7c0ab7bf 100644 --- a/.github/workflows/test_production_build.yml +++ b/.github/workflows/test_production_build.yml @@ -6,7 +6,7 @@ env: APP_NAME: rails_templates DOCKER_IMAGE: ${{ github.repository }} DOCKER_REGISTRY_HOST: ${{ secrets.DOCKER_REGISTRY_HOST }} - RUBY_VERSION: 3.2.1 + RUBY_VERSION: 3.0.5 NODE_VERSION: 16 RAILS_VERSION: 7.0.4.2 diff --git a/.github/workflows/test_template.yml b/.github/workflows/test_template.yml index 26381b73..4f6919f4 100644 --- a/.github/workflows/test_template.yml +++ b/.github/workflows/test_template.yml @@ -3,7 +3,7 @@ name: Test Template on: push env: - RUBY_VERSION: 3.2.1 + RUBY_VERSION: 3.0.5 jobs: test: diff --git a/.github/workflows/test_variants.yml b/.github/workflows/test_variants.yml index 627be497..56717e1e 100644 --- a/.github/workflows/test_variants.yml +++ b/.github/workflows/test_variants.yml @@ -9,7 +9,7 @@ env: DOCKER_REGISTRY_HOST: ${{ secrets.DOCKER_REGISTRY_HOST }} DOCKER_REGISTRY_USERNAME: ${{ github.repository_owner }} DOCKER_REGISTRY_TOKEN: ${{ secrets.DOCKER_REGISTRY_TOKEN }} - RUBY_VERSION: 3.2.1 + RUBY_VERSION: 3.0.5 NODE_VERSION: 16 RAILS_VERSION: 7.0.4.2 diff --git a/.tool-versions b/.tool-versions index 33f35030..a4a843e4 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ nodejs 18.14.0 -ruby 3.2.1 +ruby 3.0.5 diff --git a/README.md b/README.md index 9be35ca1..a33405fc 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ with building complex applications over the years. ### Requirements -- Install ruby and set your local ruby version to `3.2.1` +- Install ruby and set your local ruby version to `3.0.5` - Install rails `7.0.4.2` - Install node `18.14.0` (For creating web application) diff --git a/template.rb b/template.rb index 4e22fb38..8a03a36f 100644 --- a/template.rb +++ b/template.rb @@ -8,7 +8,7 @@ APP_NAME_HUMANIZED = app_name.split(/[-_]/).map(&:capitalize).join(' ').gsub(/ Web$/, '') DOCKER_REGISTRY_HOST = 'docker.io' DOCKER_IMAGE = "nimblehq/#{APP_NAME}".freeze -RUBY_VERSION = '3.2.1' +RUBY_VERSION = '3.0.5' POSTGRES_VERSION = '15.2' REDIS_VERSION = '7.0.8' # Variants