1
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 チュートリアル バージョン違いで rails new できない時

Posted at

超超初心者向けです。

railsチュートリアルで新しいアプリの作成時に

$ rails 6.0.3 new hello_app

を実行すると、

Traceback (most recent call last):
.
.
can't find gem railties (= 6.0.3) with executable rails (Gem::GemNotFoundException)

このようなエラーが出てしまいました。

↑こちらの記事を参考にさせていただいて

$ gem install rails -v 6.0.3

でgem をインストールしてもう一度

$ rails 6.0.3 new hello_app

することで解決しました。

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