JetBrains / JetBrains/sample_rails_app_7th_ed

Error when running rake db:migrate

Open
#6 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
2
Forks
9
PR merge metrics
No merged PRs in 30d

Description

At the "Run migrations" step (https://www.jetbrains.com/help/ruby/get-started.html#migrate) I get:

`uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger (NameError)`

One solution that works is setting rails to 7.1 in Gemfile as per https://stackoverflow.com/a/79361034/67675

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure at the tutorial's “Run migrations” step with `rake db:migrate`, then inspect the Rails version in the Gemfile. Confirm the chosen dependency version allows migrations to complete without the `ActiveSupport::LoggerThreadSafeLevel::Logger` NameError.

Written by the indexing model from the issue text.

Assessment

Tech stack
rails, ruby
Domain
backend, database
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.