John T. wrote:
> 
> If anyone knows of a way to have 'gem update' either skip a certain gem, 
> or continue updating the rest after such an error, please let me know!

hi, i have encountered a similar problem - using the gem update command 
and exiting in the middle of the update because i could not find some 
stupid stdio.h file (this specifically pertains to hpricot).

anyway, i found out that you can skip a certain gem by renaming the gem 
specification file for the specific gem that you want to skip.

in my case, i do not want to include hpricot in the gem update command 
so

i go to this directory: C:\Ruby\lib\ruby\gems\1.8\specifications

and look for this file: hpricot-0.6-x86-mswin32.gemspec

then rename it to: hpricot-0.6-x86-mswin32.gemspec.bak


when i run gem update in my computer, it skips hpricot and on my WinXP 
XP2 machine, there is nothing left to update when i use the gem update 
command:

C:\Ruby>gem update
Updating installed gems
Nothing to update

and now, i can just manually update hpricot using this command:

gem install hpricot --source http://code.whytheluckystiff.net

and then rename this file again: hpricot-0.6-x86-mswin32.gemspec

to: hpricot-0.6-x86-mswin32.gemspec.bak1


i hope this helps your problem.


-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to