0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

railsコマンドを打つとエラーが起きた

Posted at

ある日railsコマンドを打つと、こんなエラー文が出てきた

`setupterm': The terminfo database could not be found. (Reline::Terminfo::TerminfoError)

どうやら terminfoがdatebaseにないよと言われてるが
いじった記憶がない、、、🥹
恐らく何かを導入した際に何かが変わってしまったのかもしれない

使用環境

  • M1
  • Ruby 3.1.0
  • Rails 6
  • PostgsreSQL

解決方法

以下のファイルをコメントアウトすると、とりあえず動く
エラー文の下にansi.rbあるのでcommand + クリック

ansi.rb

 # if Reline::Terminfo.enabled?
  #   Reline::Terminfo.setupterm(0, 2)
  # end

他にいい方法があれば教えていただきたいです

0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?