前几天我下载了 asdf 并试图将它与我从 Github 下载的 ruby on rails 项目一起使用。当我运行时asdf install
,我得到以下响应:
firebase 9.10.0 is already installed
ruby 2.7.2 is already installed
然后我运行rails s
:
No preset version installed for command rails
Please install a version by running one of the following:
asdf install ruby 2.7.2
or add one of the following versions in your config file at
/Users/******/Desktop/****/.tool-versions
ruby 3.0.1
该项目在 ruby 2.7.2 上运行。
.tool 版本:
ruby 2.7.2
node 12.18.3
我用自制软件安装了 asdf,并将 oh-my-zhs 与 asdf 插件一起使用。
编辑:运行
asdf install ruby 2.7.2
只是说
ruby 2.7.2 is already installed