0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Rails】エラー「uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger (NameError)」の解消

Posted at

記事概要

Rails新規作成時に発生するエラーuninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger (NameError)を解消する方法について、記述する。

言語やフレームワーク

使用技術
フロントエンド HTML
バックエンド Ruby 3.2.0
Ruby on Rails 7.1.5.1
データベース MySQL
インフラ -
API -
その他 -

前提

  • Rails新規作成時にエラーが発生している
  • 実行したコマンドはrails _7.0.0_ new [アプリ名] -d mysqlである

エラー解消方法

バージョンを指定せず、下記コマンドでRailsを新規作成する

rails new [アプリ名] -d mysql
  • Rubyは、ver.3.2.0で作成される
  • Railsは、ver.7.1.5.1で作成される

参照した記事

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?