This issue contains attempts and error outputs in relation to ruby version:
ruby 2.5.1p57 (2018-03-29 revision 63029) [x64-mingw32]
C:\git_projects\gosu-examples\bin>ruby gosu-examples
*** Cannot load chipmunk_and_rmagick.rb:
cannot load such file -- chipmunk
*** Cannot load chipmunk_integration.rb:
cannot load such file -- chipmunk
*** Cannot load opengl_integration.rb:
cannot load such file -- gl
*** Cannot load rmagick_integration.rb:
cannot load such file -- rmagick
Added Gemfile with contents to tackle issues
source 'https://rubygems.org'
gem 'opengl'
gem 'chipmunk'
gem 'rmagick'
**Chipmunk installs as intended
ERROR: Error installing opengl:
The last version of opengl (= 0.10.0) to support your Ruby & RubyGems was 0.10.0. Try installing it with `gem install opengl -v 0.10.0`
opengl requires Ruby version < 2.5, >= 2.0. The current ruby version is 2.5.0.
As above states, ruby 2.5.0+ will not work as inteded i reckon?
C:\git_projects\gosu-examples>gem install rmagick
Fetching: rmagick-2.16.0.gem (100%)
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.
current directory: C:/Ruby25_64/lib/ruby/gems/2.5.0/gems/rmagick-2.16.0/ext/RMagick
C:/Ruby25_64/bin/ruby.exe -r ./siteconf20180826-12800-m7rxdg.rb extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=C:/Ruby25_64/bin/$(RUBY_BASE_NAME)
extconf.rb:141:in ``': No such file or directory - identify -version (Errno::ENOENT)
from extconf.rb:141:in `configure_compile_options'
from extconf.rb:16:in `initialize'
from extconf.rb:548:in `new'
from extconf.rb:548:in `<main>'
extconf failed, exit code 1
Gem files will remain installed in C:/Ruby25_64/lib/ruby/gems/2.5.0/gems/rmagick-2.16.0 for inspection.
Results logged to C:/Ruby25_64/lib/ruby/gems/2.5.0/extensions/x64-mingw32/2.5.0/rmagick-2.16.0/gem_make.out
Lacking imagemagick i reckon
--
in addition for windows based i discovered the gem:
https://rubygems.org/gems/rmagick-windows
This contains fixes it claims, does this require investigation in regards to bugs that might affect stuff in relation to images and others?
Dumping install log here aswell
C:\git_projects\gosu-examples>gem install rmagick-windows
Fetching: rmagick-windows-2.16.5.gem (100%)
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...
ERROR: Error installing rmagick-windows:
ERROR: Failed to build gem native extension.
current directory: C:/Ruby25_64/lib/ruby/gems/2.5.0/gems/rmagick-windows-2.16.5/ext/RMagick
C:/Ruby25_64/bin/ruby.exe -r ./siteconf20180826-10484-1wu36fr.rb extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=C:/Ruby25_64/bin/$(RUBY_BASE_NAME)
extconf.rb:141:in ``': No such file or directory - magick identify -version (Errno::ENOENT)
from extconf.rb:141:in `configure_compile_options'
from extconf.rb:16:in `initialize'
from extconf.rb:542:in `new'
from extconf.rb:542:in `<main>'
extconf failed, exit code 1
Gem files will remain installed in C:/Ruby25_64/lib/ruby/gems/2.5.0/gems/rmagick-windows-2.16.5 for inspection.
Results logged to C:/Ruby25_64/lib/ruby/gems/2.5.0/extensions/x64-mingw32/2.5.0/rmagick-windows-2.16.5/gem_make.out