1
0

More than 3 years have passed since last update.

Railsをインストールしたはずがrails -vでエラーが発生する時の対処方(初心者向け)

Last updated at Posted at 2020-12-30

railsのインストールをブログの記事通り進めてきたが

$ rails -v

で以下のようなエラーが発生しました。

$ rails -v

Rails is not currently installed on this system. To get the latest version, simply type:

    $ sudo gem install rails

You can then rerun your "rails" command.

いろいろな記事を読んで解決しようとしましたがうまくいかず、ターミナルを再起動して再度バージョン確認。

rails -v
Rails 6.1.0

オーマイガー
インストールされてやがる!!

初心者でrails -vでエラーになった時はターミナルを再起動せよ!!

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