Not logged inGosu Forums
Forum back to Help Search Register Login
Up Topic Gosu / Gosu Exchange / Gosu and Ruby 2.4 on Windows - cannot load
- - By Mwm Date 2017-05-31 07:14
Could anyone suggest what this problem might be?

I installed Ruby 2.4.1, then used gem install gosu and gem install gosu-examples, I also installed the examples in a local directory, but when I type in the DOS window:
ruby welcome.rb (for example) I get:

C:/Ruby/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such fil
e -- (LoadError)
        from C:/Ruby/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in
        from C:/Ruby/lib/ruby/gems/2.4.0/gems/gosu-0.12.0-x64-mingw32/lib/gosu.rb:17:in <top (r
        from C:/Ruby/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:133:in
        from C:/Ruby/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:133:in rescue in requir
        from C:/Ruby/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:40:in
        from welcome.rb:4:in `<main>'

Any help appreciated. I am using Windows 8.1
Parent - - By jlnr (dev) Date 2017-05-31 19:09
This one's easy: Gosu does not support Ruby 2.4 on Windows yet, mostly because I didn't realise it has been released already. So thanks for pointing that out :)

I'll try to add Ruby 2.4 support ASAP, in the meantime, please downgrade to Ruby 2.3.
Parent - By Mwm Date 2017-05-31 22:55
No worries - thanks!
Parent - By jlnr (dev) Date 2017-06-20 10:22
Gosu 0.12.1 works with Ruby 2.4. \o/
Up Topic Gosu / Gosu Exchange / Gosu and Ruby 2.4 on Windows - cannot load

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill