If you want to do a general update on all your gems, use gem update --
system
If you want to update a specific gem use gem update <gem name>

Cheers,
John

On Apr 7, 9:24 am, spike <vinaykumarl...@gmail.com> wrote:
> Hi
>
> I'm trying to update gem using the command
>
> gem update
>
> but its failing to update and i'm getting following error.
>
> ERROR:  While executing gem ... (Gem::Installer::ExtensionBuildError)
>     ERROR: Failed to build gem native extension.
>
> rake RUBYARCHDIR=C:/Ruby/lib/ruby/gems/1.8/gems/ruby-opengl-0.60.1/lib
> RUBYLIBDI
> R=C:/Ruby/lib/ruby/gems/1.8/gems/ruby-opengl-0.60.1/lib
> ruby mkrf_conf.rb
> (in C:/Ruby/lib/ruby/gems/1.8/gems/ruby-opengl-0.60.1)
> call rake --nosearch
> cl -nologo  -MD -Zi -O2b2xg- -G6  -DWIN32 -DRUBY_VERSION=186  -IC:/
> Ruby/include
> -IC:/Ruby/lib/ruby/1.8/i386-mswin32 -IC:/Ruby/lib/ruby/site_ruby/1.8 -
> I. -c gl-1
> .0-1.1.c
> (in C:/Ruby/lib/ruby/gems/1.8/gems/ruby-opengl-0.60.1/ext/gl)
> 'cl' is not recognized as an internal or external command,
> operable program or batch file.
> rake aborted!
> Command failed with status (1): [cl -nologo  -MD -Zi -O2b2xg- -G6  -
> DWIN32 ...]
>
> (See full trace by running task with --trace)
> rake aborted!
> Command failed with status (1): [call rake --nosearch...]
>
> (See full trace by running task with --trace)
>
> Gem files will remain installed in C:/Ruby/lib/ruby/gems/1.8/gems/ruby-
> opengl-0.
> 60.1 for inspection.
> Results logged to C:/Ruby/lib/ruby/gems/1.8/gems/ruby-opengl-0.60.1/
> gem_make.out
>
> please suggest a solution
>
> thankingyou
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to