From: Axel Etzold Date: 2008-08-31T17:00:47+09:00 Subject: Re: gem (update ?) problem -------- Original-Nachricht -------- > Datum: Sun, 31 Aug 2008 15:27:20 +0900 > Von: "Peter K." > An: ruby-talk@ruby-lang.org > Betreff: Re: gem (update ?) problem > Dear Axel, > > > thanks a lot for your help !! you're welcome :) > I managed to install the hpricot, but when I am running a gem update > then it tries to update hpricot as well and the same error occurs. Is > there a command to explicitly exclude the hpricote update when running > gem update > > (something like gem update --exclude hpricot) ?? > Not that I know of. Maybe you submit this as a feature request to the people who maintain rubygems ? There's a special mailing list for rubygems developers you could ask for that. Otherwise, gems list will display all the gems you have installed. If they are not too many, you could remove them by hand and install them, with the right parameters again. > As I started using ruby/rails only recently I am not completely familiar > with all the options. So far I started gem updates from inside the > console window. > > > Open the gems package manager and type in the following: > > gem install hpricot --source http://code.whytheluckystiff.net > > I was not aware, that there is a specific gem package manager (other > than calling gem update within the console window). > How would I start it up (which programm-name would I have to open / > doubleklick) ? > There is a Ruby distribution for Windows called One-click-installer Ruby http://rubyforge.org/projects/rubyinstaller/ This installs Ruby so that you can see a folder for it in the tree of your installed programs. The default name will be Ruby-186-26. There's a subfolder RubyGems and inside that, a RubyGems Package Manager application, which opens a console-like window. I'm not really sure whether there's any difference between managing rubygems from there or from the Windows console (maybe some care is needed to tell the Windows console where to find rubygems). As a quick-and-dirty workaround, you might also try to write a rubygems-update-with-exclusion script using the console yourself ... maintain a text file with special parameters for special gems and use Ruby's 'system' command to invoke the console..you could then uninstall every gem in the list given by 'gems list', and reinstall it, maybe from some special source, like in the hpricot case, if your parameter file includes some special information. Best regards, Axel -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx