【发布时间】:2014-05-12 01:46:39
【问题描述】:
我已经学习 Ruby on Rails 几个月了,一切正常。
然后,出于教程的需要,我尝试安装 RVM,以便将我的设置降级到旧版本的 Ruby 和 Rails。
从那以后,我一直遇到麻烦。
例如,每当我启动一个新的终端会话时,我都会得到以下结果:
You are using '.rvmrc', it requires trusting, it is slower and it is not compatible with other ruby managers,
you can switch to '.ruby-version' using 'rvm rvmrc to [.]ruby-version'
or ignore this warning with 'rvm rvmrc warning ignore /Users/Thibaud/work/.rvmrc',
'.rvmrc' will continue to be the default project file in RVM 1 and RVM 2,
to ignore the warning for all files run 'rvm rvmrc warning ignore all.rvmrcs'.
ree-1.8.7-2012.02 - #gemset created /Users/Thibaud/.rvm/gems/ree-1.8.7-2012.02@tedxperth
ree-1.8.7-2012.02 - #generating tedxperth wrappers....................
Using /Users/Thibaud/.rvm/gems/ree-1.8.7-2012.02 with gemset tedxperth
Warning! Executable 'ruby' missing, something went wrong with this ruby installation!
Warning! Executable 'gem' missing, something went wrong with this ruby installation!
Warning! Executable 'irb' missing, something went wrong with this ruby installation!
两个问题:
如何解决终端中出现的错误? (见上文)
由于我不知道我的安装出了什么问题,我想知道是否应该卸载整个 Ruby on Rails 环境并重新设置以进行全新安装:这是个好主意吗?如果可以,如何实现?
【问题讨论】:
-
欢迎来到 Stack Overflow!愿您的所有问题都能得到快速准确的解答。
标签: ruby-on-rails ruby macos rvm