Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Ruby to 3.2.2 and Rails to 6.1.7.4 #1892

Merged
merged 12 commits into from
Aug 20, 2023

Conversation

asideofcode-dev
Copy link
Contributor

@asideofcode-dev asideofcode-dev commented Aug 3, 2023

  1. Update Ruby to 3.2.2 and Rails to 6.1.7.4
  2. Ran the rails app:update tasks as usual
  3. (1) includes adding webpacker, the new mechanism for compiling JS. But I think this repo is pretty much married to Sprockets. Maybe webpacker can be forward looking. Or the project can opt to not use it, in which case I can rip it out. Took out webpacker since it will be removed in Rails 7
  4. Update seeds so that when you go to the coaches page it's not empty
  5. Dedupe by moving assets in ./public to ./app/assets. Closes Duplication of assets under ./app and under ./public #1890. It turns out that the assets under ./public were set to go since config.assets.unknown_asset_fallback is set to false by default in Rails 6.x

@asideofcode-dev asideofcode-dev force-pushed the bumping-versions branch 3 times, most recently from 87f3f6b to d5936c1 Compare August 3, 2023 21:58
@asideofcode-dev asideofcode-dev changed the title Update Rails to 6.1.7.4 Update Ruby to 3.2.2 and Rails to 6.1.7.4 Aug 3, 2023
@matyikriszta
Copy link
Contributor

@asideofcode-dev re: webpacker, I don't think we are going to use it anytime soon so let's just leave it out. It looks like it's retired as well and not in active development anymore: https://github.com/rails/webpacker. I think it's been ripped out of Rails 7 anyways (and that's where we want to end up with this upgrade).

@asideofcode-dev asideofcode-dev force-pushed the bumping-versions branch 2 times, most recently from c13371e to bfd2d66 Compare August 15, 2023 23:09
Copy link
Contributor

@matyikriszta matyikriszta left a comment

Choose a reason for hiding this comment

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

@asideofcode-dev can we also update the Ruby version in the .ruby-version file?

Driver should be compared against :chrome not :selenium when taking screenshots on exception.
Just a sanity check to make sure the asset pipeline is wired up correctly
@matyikriszta matyikriszta merged commit ab9350d into codebar:master Aug 20, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Duplication of assets under ./app and under ./public
2 participants