Skip to content

Commit

Permalink
Update all reference to ruby 3.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
cycomachead committed Jul 6, 2023
1 parent ffe7e88 commit 9dce140
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up Ruby 2.7.7
- name: Set up Ruby 3.2.2
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.7
ruby-version: 3.2.2
bundler-cache: true
- name: Run RuboCop
run: bundle exec rubocop --parallel
2 changes: 1 addition & 1 deletion .github/workflows/specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Use Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.7
ruby-version: 3.2.2
bundler-cache: true
- name: Setup Code Climate
run: |
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.8
3.2.2
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source "https://rubygems.org"

git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby "2.7.8"
ruby "3.2.2"

gem "rails", "6.1.7.4"

Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ DEPENDENCIES
webpacker (~> 4)

RUBY VERSION
ruby 2.7.8p225
ruby 3.2.2p225

BUNDLED WITH
2.1.4
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ We have worked on the adding following core features and functionality:
* Note: if you are using WSL2 on windows, the command to start postgres is `sudo service postgresql start`

### Framework/Gem Installation
* `rvm use 2.7.7` # Double-check `.ruby-version`
* `rvm use 3.2.2` # Double-check `.ruby-version`
* `bundle`
* `bin/rails db:setup` (Run this after setting up Postgres)
* `nvm install 14` Node v14 is needed
Expand Down Expand Up @@ -106,7 +106,7 @@ We have worked on the adding following core features and functionality:
## Steps to Deploying on Heroku
- ... create a heroku app
- `heroku stack:set heroku-20` (Ruby 2.7.7 is not supported on latest stack heroku-22. Double check your Ruby version though)
- `heroku stack:set heroku-20` (Ruby 3.2.2 is not supported on latest stack heroku-22. Double check your Ruby version though)
- `heroku buildpacks:set heroku/nodejs` # this must be the first buildpack.
- `heroku buildpacks:add --index 2 heroku/ruby`
- `git remote set-url heroku https://git.heroku.com/bjc-teachers.git` (or whatever your heroku deployment repository is)
Expand Down

0 comments on commit 9dce140

Please sign in to comment.