我在圆圈中绕过终端中的“此系统上没有安装Rails”消息,但它告诉我我刚安装它。
Simons-MacBook-Pro:~ Simon$ sudo gem install rails
Successfully installed rails-5.0.2
Parsing documentation for rails-5.0.2
Done installing documentation for rails after 0 seconds
1 gem installed
Simons-MacBook-Pro:~ Simon$ 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.
Simons-MacBook-Pro:~ Simon$
特别是我应该安装它吗?
答案 0 :(得分:0)
解决了它。发现我在另一条道路上有另一个副本。删除它并将其移动到我想要创建新应用程序的同一目录中。
$sudo rails where
允许我找到它。