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

ruby – 如何安装Command-T,Pathogen,而不是使用RVM?

发布时间:2020-12-17 02:30:46 所属栏目:百科 来源:网络整理
导读:我使用brew install来安装 ruby(而不是RVM).我在我的系统上安装了ruby 1.9.3p0. (OSX Lion) 我正在尝试通过病原体安装Command-T.我可以正常运行rake,make,ruby等等,但当我进入’Command-T’目录并尝试运行rake时,它说无法在任何来源中找到rake-0.8.7. 我也无
我使用brew install来安装 ruby(而不是RVM).我在我的系统上安装了ruby 1.9.3p0. (OSX Lion)

我正在尝试通过病原体安装Command-T.我可以正常运行rake,make,ruby等等,但当我进入’Command-T’目录并尝试运行rake时,它说无法在任何来源中找到rake-0.8.7.

我也无法运行任何正常的ruby命令.只是ruby –version会产生同样的错误.

我知道这与下面有关…但我不知道如何实际修复它.

Most installation problems are caused by a mismatch between the
version of Ruby on the host operating system,and the version of Ruby
that Vim itself linked against at compile time. For example,if one is
32-bit and the other is 64-bit,or one is from the Ruby 1.9 series and
the other is from the 1.8 series,then the plug-in is not likely to
work.

As such,on Mac OS X,I recommend using the standard Ruby that comes
with the system (currently 1.8.7) along with the latest version of
MacVim (currently version 7.3). If you wish to use custom builds of
Ruby or of MacVim (not recommmended) then you will have to take extra
care to ensure that the exact same Ruby environment is in effect when
building Ruby,Vim and the Command-T extension.

我尝试暂时将整个Cellar目录从/usr/local移出(对于那些不熟悉,其中自制软件安装ruby和其他所有内容).

在终端,如果我运行哪个ruby,它的工作正常..然而,当我在Command-T文件夹中符文rake make它仍然给出相同的错误

解决方法

没关系……我所要做的就是运行/usr/bin/rake make

这有什么不同于暂时删除Cellar文件夹,以便默认情况下shell使用该路径,我不知道,但它的工作原理.

(编辑:李大同)

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

    推荐文章
      热点阅读