(I'll figure out a login soon)
I'm posting to hopefully get a little more attention to a fresh install problem I'm having:
http://code.google.com/p/gosu/wiki/GettingStartedOnLinux---
Rough paste:
I'm trying to install on a fresh Lubuntu 10.10 install. Everything installed without issue, but trying to run simple gosu code:
The code I'm trying to run is:
#!/usr/bin/env ruby
require 'rubygems'
require 'gosu'
class MyWindow < Gosu::Window
def initialize
super(640, 480, false, 20)
self.caption = 'Hello World!'
end
end
w = MyWindow.new
w.show
... gives me:
./gosu.rb:5: uninitialized constant Gosu (NameError)
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require'
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
require'
from ./gosu.rb:3
gem list shows gosu (and only gosu). However, when searching (find | grep -i gosu in various root directories) I cannot find any files or directories with the name gosu in them.
/usr/local/lib/site_ruby/1.8/i686-linux is empty.
/usr/lib/ruby/1.8/rubygems has some stuff, but nothing gosu-related.
I've been searching for a good hour and I've experimented a bunch, including uninstalling and reinstalling rubygems and gosu, but nothing has changed this error message.
Since someone using Ubuntu 10.10 has edited this article, it must be possible to get this working on a fresh install. I'm just not sure what I'm doing wrong.