Skip to content
This repository was archived by the owner on Jun 6, 2025. It is now read-only.

Conversation

@crowesn
Copy link
Contributor

@crowesn crowesn commented Jan 30, 2023

Resolves #370

Copy link
Contributor

@hortongn hortongn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@crowesn Everything checks out in my local environment. App runs and tests pass. Two things to test/consider before merging:

In Brandon's ruby/rails upgrade PR on AAEC, he had to also upgrade Capistrano to 3.17.11 and tweak the capistrano config files to get it working. I think it's worth you trying a deploy of this branch to libappstest to verify deploy isn't broken. That will also let us know if anything is broken in production mode after this upgrade. We want to ensure things like precompiling assets, etc. still work. Trying the app on libappstest is the best way to know that all is well.

Brandon also added the 'bcrypt_pbkdf' and 'ed25519' gems to AAEC, which I think we needed to get capistrano working with the upgrade.

Also in Brandon's PR, he added webpacker. That replaces sprockets as the default javascript compiler in Rails 6. It's fine to stay with the old sprockets for now, but I suggest creating an issue to move to webpacker in the future. Probably best to use the default tools that come with rails 6 and stay consistent.

@crowesn crowesn force-pushed the 370/upgrade-ruby-and-rails branch from 93aa82a to 9d3ff56 Compare January 31, 2023 18:55
@crowesn crowesn force-pushed the 370/upgrade-ruby-and-rails branch from 9d3ff56 to 9a012a9 Compare January 31, 2023 18:59
@crowesn
Copy link
Contributor Author

crowesn commented Jan 31, 2023

RUBY_CONFIGURE_OPTS="--disable-dtrace" rbenv install 3.0.5

@crowesn
Copy link
Contributor Author

crowesn commented Jan 31, 2023

@hortongn

I updated the Capistrano version and noted that the other apps in Brandon's aaec work are already present in this app. I didn't see sprockets listed in our Gemfile but I'll open an issue anyway and look into it.

I installed ruby 3.0.5 in rbenv on libappstest and then was able to successfully deploy the branch. Looks good to me.

Copy link
Contributor

@hortongn hortongn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@crowesn Glad the deploy is working. Merging...

@hortongn hortongn merged commit a1826db into qa Jan 31, 2023
@hortongn hortongn deleted the 370/upgrade-ruby-and-rails branch January 31, 2023 21:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to ruby 3 and rails 6

3 participants