你如何卸载RVM宝石? [英] How do you uninstall RVM gem?

查看:111
本文介绍了你如何卸载RVM宝石?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

奇怪的......但这就是我得到的:

  $ gem list | grep rvm 
>> rvm(1.11.3.3)
$ gem uninstall rvm
>>信息:没有安装gemrvm

这怎么可能?这个问题的根源可能源于我下载最新的RVM并发现它不适用于最新版本的POW。因此,我不得不内爆RVM并重新安装旧版本。从那时起,当我做一个 cap deploy 时,我得到了经典:

 `< top(required)>':将RVM  -  Capistrano集成提取到一个单独的gem,安装:`gem install rvm-capistrano`并删除`$ LOAD_PATH.unshift`行,注意'set:rvm_type ,:user'现在是默认的(而不是:system)。 (RuntimeError)

有什么想法?

解决方案

你是否在宝石中?如果是这样,该宝石可能在解释器的未命名gemset或全局gemset中。如果是这样,请尝试

  rvm use 1.9.3 
gem uninstall rvm

  rvm use 1.9.3 @全球
gem卸载rvm


Strange... but this is what I got :

$ gem list | grep rvm
>> rvm (1.11.3.3)
$ gem uninstall rvm
>> INFO:  gem "rvm" is not installed

How can that be possible? The root of this problem probably stems from me downloading the latest RVM and finding that it does not work with the latest version of POW. Thus I had to implode RVM and reinstall an older version. Since then when I do a cap deploy, I get the classic :

`<top (required)>': RVM - Capistrano integration was extracted to a separate gem, install: `gem install rvm-capistrano` and remove the `$LOAD_PATH.unshift` line, note also the 'set :rvm_type, :user' is now the default (instead of :system). (RuntimeError)

Any ideas?

解决方案

Are you in a gemset? If so, that gem might be in the interpreter's unnamed gemset or the global gemset. If so, try

rvm use 1.9.3
gem uninstall rvm

or

rvm use 1.9.3@global
gem uninstall rvm

这篇关于你如何卸载RVM宝石?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆