Removing Gems errors

前端 未结 2 756
谎友^
谎友^ 2021-01-17 03:19

I have 2 versions of rubies using RVM and i am trying to remove all my gems which in this ruby version 1.8.7-p302

first i tried this but i got error

2条回答
  •  粉色の甜心
    2021-01-17 04:21

    RVM installs some gems in the global gemset you can uninstall those gems with:

    rvm @global do gem uninstall gem_name
    

    if you do not want to use any gemsets (except the single per ruby gemset) use: this:

    echo rvm_ignore_gemsets_flag=1 >> ~/.rvmrc
    

    and from now on RVM will use only single gemset - no global

提交回复
热议问题