Skip to content

Chingu doesn't install with new Ruby 2.0 #60

@samueller

Description

@samueller

I guess the issue is the dependency on Gosu. This is on Windows 7:

C:\Users\Scott>gem install chingu
Fetching: gosu-0.7.45.gem (100%)
ERROR:  Error installing chingu:
        The 'gosu' native gem requires installed build tools.

Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'

So I installed the DevKit (there were 2 other devkits, this seemed to be the latest and 64-bit, DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe).

C:\Users\Scott\Downloads\devkit>gem install chingu
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing chingu:
        ERROR: Failed to build gem native extension.

    C:/Ruby200-x64/bin/ruby.exe extconf.rb
This gem is not meant to be installed on Windows. Instead, please use:
gem install gosu --platform=i386-mingw32


Gem files will remain installed in C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/gosu-0.7.45 for inspection.
Results logged to C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/gosu-0.7.45/linux/gem_make.out

C:\Users\Scott\Downloads\devkit>gem install gosu --platform=x64-mingw32
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing gosu:
        ERROR: Failed to build gem native extension.

    C:/Ruby200-x64/bin/ruby.exe extconf.rb
This gem is not meant to be installed on Windows. Instead, please use:
gem install gosu --platform=i386-mingw32

I tried every permutation of x64-mingw32, i386-mingw32, i386-mingw64, etc. Nothing helped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions