我是这方面的初学者,虽然我通过Codecademy课程对命令行有一些了解。
在设置我的Ruby / Rails环境时,我在运行后在终端中收到以下消息
来自installrails.com/steps/install_rvm_and_ruby的\curl -L https://get.rvm.io | bash -s stable
:
Upgrade Notes:
/Users/aristotle/.bash_profile:1:export PATH=/usr/local/git/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
* WARNING: Above files contains `PATH=` with no `$PATH` inside, this can break RVM,
for details check https://github.com/rvm/rvm/issues/1351#issuecomment-10939525
to avoid this warning append #PATH.
* No new notes to display.
答案 0 :(得分:0)
实际上是在这里写的https://github.com/rvm/rvm/issues/1351#issuecomment-10939525
请确保相应地导出变量。