2
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 3 years have passed since last update.

rails newでエラーが出た時に解決した話

Posted at

rails new でアプリを新規作成する時に、以下の画像のようなエラーが出て困っていました。
Image from Gyazo

以下のコマンドで

$ gem list rails versions

それぞれのバージョンを確認
Image from Gyazo
原因としては、rails newでエラーが出る部分はrails6の機能になるので、railsのバージョンを指定してコマンドを入力する必要がありました。

rails _5.2.4.1_ new アプリ名 -d mysql  

無事、rails new 成功しました!

2
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
2
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?