I try the following command: gem cleanup and I get this: C:\Ruby\bin>"c:\Ruby\bin\ruby.exe" "c:\Ruby\bin\gem" cleanup ERROR: While executing gem ... (RuntimeError) Unknown command cleanup Even if I try: gem cleanup rails I get the same thing. Anyone know what I am doing wrong? Thanks, Chad
Get a version of gem which supports cleanup. gem update --system On Fri, 25 Mar 2005 18:53:06 -0600, Chad Lung <chad-t/9kLyGNEyhDFKB0ZJbScw@public.gmane.org> wrote:> I try the following command: > > gem cleanup > > and I get this: > > C:\Ruby\bin>"c:\Ruby\bin\ruby.exe" "c:\Ruby\bin\gem" cleanup > ERROR: While executing gem ... (RuntimeError) > Unknown command cleanup > > Even if I try: > > gem cleanup rails > > I get the same thing. > > Anyone know what I am doing wrong? > > Thanks, > > Chad > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Tobi http://www.snowdevil.ca - Snowboards that don''t suck http://www.hieraki.org - Open source book authoring http://blog.leetsoft.com - Technical weblog
On Friday 25 March 2005 09:22 pm, Tobias Luetke wrote:> Get a version of gem which supports cleanup. > > gem update --systemHeh, chances are that if he doesn''t have a version of gems that supports cleanup, it probably doesn''t support update --sysgem either. In that case, try: $ gem install rubygems-update $ update_rubygems -- -- Jim Weirich jim-Fxty1mrVU9GlFc2d6oM/ew@public.gmane.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)