加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

Ruby:RVM安装错误“无法源…”

发布时间:2020-12-17 02:11:01 所属栏目:百科 来源:网络整理
导读:重新安装RVM完成后会产生以下错误: WARNING: Could not source '/Users/developer/.rvm/scripts/base' as file does not exist. RVM will likely not work as expected.WARNING: Could not source '/Users/developer/.rvm/scripts/version' as file does no
重新安装RVM完成后会产生以下错误:

WARNING:
          Could not source '/Users/developer/.rvm/scripts/base' as file does not exist.
          RVM will likely not work as expected.
WARNING:
          Could not source '/Users/developer/.rvm/scripts/version' as file does not exist.
          RVM will likely not work as expected.
WARNING:
          Could not source '/Users/developer/.rvm/scripts/selector' as file does not exist.
          RVM will likely not work as expected.
WARNING:
          Could not source '/Users/developer/.rvm/scripts/cd' as file does not exist.
          RVM will likely not work as expected.
WARNING:
          Could not source '/Users/developer/.rvm/scripts/cli' as file does not exist.
          RVM will likely not work as expected.
WARNING:
          Could not source '/Users/developer/.rvm/scripts/override_gem' as file does not exist.
          RVM will likely not work as expected.
cat: /Users/developer/.rvm/VERSION: No such file or directory
/Users/developer/.rvm/src/rvm/scripts/rvm: line 133: __rvm_conditionally_add_bin_path: command not found

在我努力让RVM与Textmate一起工作并且RVM行为变得奇怪之后重新安装(报告它没有列出的gemsets)所以我运行:

rvm implode

…然后手动删除可执行文件.然后我严格按照single user instructions from the home site.运行安装

在发现错误之后,我调查了路径,发现?/ .rvm / scripts /和?/ .rvm / src / rvm / scripts /中的许多文件显然应该是可执行的,但没有执行权限.

RVM根本不会运行所以我在两个目录中的所有文件上设置了可执行位,这似乎有固定的东西. (至少到目前为止.)

谷歌搜索,似乎其他人已经遇到了这个问题,但似乎没有解释或解决方案.我想知道这是否是一个已知问题以及我是否应该重新安装.

我在MacOS X 10.6.7上运行rvm 1.6.9

解决方法

他们是警告,而不是错误.我在我的ubuntu linux机箱上有类似的机箱(但在另一台机箱上没有,使用相同的RVM版本).所以,它与OSX没有密切关系.

您的RVM安装应该仍然有效.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读