Search code examples
rubyrubygemsbundlergemfile

Why won't this gem be uninstalled


i installed a gem from this repository using this in my Gemfile :

gem 'copy_carrierwave_file', github: 'equivalent/copy_carrierwave_file'

when i'm trying to uninstall it using :

gem uninstall copy_carrierwave_file

nothing is shown like copy_carrierwave is uninstalled successfuly from....

then if i type :

bundle show copy_carrierwave_file

it still show me the location of this gem

How i can uninstall it ?


Solution

  • Since git, github, and path located, or development gems are controlled by bunlder, you have just to remove put to delete gem from Gemfile. And you even don't need to run bundle install again.

    $ bundle show session
    
    Could not find gem 'session'.