How do you uninstall RVM gem?

2019-06-20 17:08发布

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?

8条回答
走好不送
2楼-- · 2019-06-20 17:45

The problem is that RVM 1.12 and up does not play well with Capistrano. So uninstall your RVM, then get RVM 1.11 (rvm get 1.11.0).

查看更多
Ridiculous、
3楼-- · 2019-06-20 17:49

I just ran into this error as well. The error you ran into was because of the recent capistrano update. If you add rvm-capistrano to your gemfile and remove the $LOAD-PATH.unshift line from your capistrano deployment file it should work, at least it did for me.

查看更多
登录 后发表回答