ERROR: Error installing ruby-opengl:

tim's Avatar


25 Sep, 2010 05:02 PM

D:\Downloads>gem install -r ruby-opengl
Building native extensions.  This could take a while...
ERROR:  Error installing ruby-opengl:
        ERROR: Failed to build gem native extension.

rake RUBYARCHDIR=C:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-opengl-0.60.1/lib RUBY
C:/Ruby192/lib/ruby/1.9.1/rubygems.rb:340:in `bin_path': can't find executable r
ake for rake-0.8.7 (Gem::Exception)
        from C:/Ruby192/bin/rake:19:in `<main>'
  1. 1 Posted by tim on 25 Sep, 2010 05:45 PM

    tim's Avatar

    quote "Appears that deleting your installation's "rake.gemspec" file is enough."

    moving to next problem:

    C:/Ruby192/bin/ruby.exe -rubygems C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.8.7
    /bin/rake RUBYARCHDIR=C:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-opengl-0.60.1/lib RUBYLIBDIR=C:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-opengl-0.60.1/lib ruby mkrf_conf.rb
    rake aborted!
    Command failed with status (1): [ruby mkrf_conf.rb...]

  2. Support Staff 2 Posted by Nick Quaranto on 03 Oct, 2010 05:10 PM

    Nick Quaranto's Avatar

    This could be a whole slew of problems, from your Windows environment doesn't have a compiler to you don't have the right OpenGL libraries.

    I would start by getting Ruby from the RubyInstaller and see if that helps.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac