Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / require 'gosu' not finding existing .so file
- - By tangofoxtrot Date 2013-07-24 03:29
I have been trying to run the 'Hello World!' gosu tutorial under Ruby. When Ruby processes the require 'gosu' line I get the following error:

The specified file could not be found 'C:/Ruby200/lib/ruby/gems/2.0.0/gems/gosu-0.7.48-x86-mingw32/lib/gosu.for_1_9.so'

I got a clean install of gosu by installing with the –no-documents option. The file gosu.for_1_9.so' is right where it is supposed to be.

The structure of the gosu-0.7.48-x86-mingw32 seems to be correct ( I have other gems installed that work and have the same directory structure as gosu).

I am running Ruby 2.0 on a Windows XP machine. The gosu version as you can see is
0.7.48-x86-mingw32.

I assume that the install was ok since there were no complaints.

I have googled this without finding a solution or explanation. I’d really appreciate any ideas.
Parent - By RunnerPack Date 2013-07-24 05:37 Edited 2013-07-24 05:42
My suggestion: just use Ruby 1.9.3 from RubyInstaller.org. It's known to be compatible, and runs plenty fast enough for most Gosu games. Don't forget the devkit if you want to use source-only gems. Leave 2.x to the "early adopters" until they work out the bugs ;)

Besides, it doesn't even differ much from 1.9.3 (See: http://stackoverflow.com/questions/15799687/what-are-the-major-differences-between-ruby-1-9-3-and-ruby-2-0-0)
Parent - By jlnr (dev) Date 2013-07-24 07:12
See https://github.com/jlnr/gosu/issues/163, Ruby 2.0 compatibility is not trivial on Windows :/
Up Topic Gosu / Gosu Exchange / require 'gosu' not finding existing .so file

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill