[katello-devel] Gem cleanup

Lukas Zapletal lzap at redhat.com
Mon Jul 18 07:57:40 UTC 2011


On 07/16/2011 08:19 PM, Mike McCune wrote:
> $ sudo gem uninstall mail -v 2.2.19
>
> You have requested to uninstall the gem:
>      mail-2.2.19
> actionmailer-3.0.5 depends on [mail (~> 2.2.15)]
> If you remove this gems, one or more dependencies will not be met.
> Continue with Uninstall? [Yn]  y
> Successfully uninstalled mail-2.2.19
>
> $ script/rails s
> => Booting WEBrick
> => Rails 3.0.5 application starting in development on http://0.0.0.0:3000
> => Call with -d to detach
> => Ctrl-C to shutdown server

Thanks Mike!

It you want to start with clean table you can delete all the gems:

# gem list | cut -d" " -f1 | xargs gem uninstall -aIx
# sudo yum remove rubygem*
# sudo yum install rubygem-bundler
# bundle install ...

-- 
Later,

  Lukas Zapletal | E32E400A
  RHN Satellite Engineering
  Red Hat Czech s.r.o. Brno




More information about the katello-devel mailing list