-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
Checks
- I have thoroughly read and understand The Odin Project Contributing Guide
- The title of this issue follows the
Bug: brief description of bug
format, e.g.Bug: Lesson complete button does not update on click
- Would you like to work on this issue?
Bug description
When running bin/dev
, you get the following warnings:
16:19:05 worker.1 | /home/eduardo06sp/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-7.1.3.4/lib/active_support/core_ext/benchmark.rb:3: warning: benchmark was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
16:19:06 web.1 | /home/eduardo06sp/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/view_component-3.16.0/lib/view_component/template.rb:1: warning: /home/eduardo06sp/.rbenv/versions/3.4.5/lib/ruby/3.4.0/ostruct.rb was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
I believe that if we add the benchmark
gem to the test and/or development part of the Gemfile, then one of the warnings will go away.
I believe that if we upgrade view_component
to version 3.20
or later, then the other warning will go away. That is the first version in which OpenStruct was completely removed from their codebase.
How to reproduce
- Run The Odin Project website locally.
- Run
bin/dev
. - You will see the warnings in your terminal.
Expected behavior
- Run The Odin Project locally.
- Run
bin/dev
. - Do not see warnings in my terminal.
What browsers are you seeing the problem on?
No response
What OS are you using?
Ubuntu
Discord Name
eduardo06sp
Additional Comments
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status