From: Luis Lavena Date: 2009-05-28T03:45:05+09:00 Subject: Re: Can't install ruby-opengl On May 27, 1:46 pm, "J. D." wrote: > I receive the following error when trying to install it. > > C:/Ruby/bin/ruby.exe -rubygems > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake > RUBYARCHDIR=C:/Ruby/lib/ruby/gems/1.8/gems/ruby-opengl-0.60.1/lib > RUBYLIBDIR=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) > > -------------------------------------- > > I've tried manually installing it and automatically installing it - both > fail. I'm currently using the latest one-click installer version of ruby > 186.27.  All other gems on my system are updated and working fine with > the exception of this one. > > My gems system is up to date. > > I've searched heavily for this topic and all topics found do not contain > a fix for the issue I'm having. > > Any help would be greatly appreciated. To install gems that depends on binary extension, like yours, you need a compiler. Ruby needs a version specific compiler, the same used to build Ruby, which is Visual C 6.0 Unless you have a license, that compiler is not available. I suggest you play with or try out the preview version of the new One- Click Installer based on GCC, let you build gems with native extensions without these issues. http://blog.mmediasys.com/2009/05/05/rubyinstaller-state-of-one-click/ http://blog.mmediasys.com/2009/05/17/rubyinstaller-updated-packages-and-other-news/ http://blog.mmediasys.com/2009/05/19/pure-ruby-readline-released-012/ Keep in mind that certain gems may not work, and headers and libraries to build certain gems are required to successfully build them. Regards, -- Luis Lavena