Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chingu doesn't install with new Ruby 2.0 #60

Open
samueller opened this issue Feb 28, 2013 · 2 comments
Open

Chingu doesn't install with new Ruby 2.0 #60

samueller opened this issue Feb 28, 2013 · 2 comments

Comments

@samueller
Copy link

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.

@ippa
Copy link
Owner

ippa commented Feb 28, 2013

you'll have to take this up with gosu-author https://github.com/jlnr .. chingu is built upon gosu.

@ippa ippa closed this as completed Feb 28, 2013
@ippa ippa reopened this Feb 28, 2013
@ippa
Copy link
Owner

ippa commented Feb 28, 2013

If/when you get a new gosu version to install I'll bump up the dependency to that version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants