I'm studying programming. I would like to summarize the knowledge I gained in the process of studying so that I will not forget it and help someone.
(base) hoge@MacBook-Pro ~ % 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.
I installed rails as I checked, but I get this error no matter how many times I run rails -v.
If you run this command and run rails -v again
(base) hoge@MacBook-Pro ~ % rails -v Rails 220.127.116.11
It went well! !!