Green shoes on archlinux x64 error

ok, so i brought this up in the shoes ML, and they suggested i ask here.
apparently there are other people using x64 linux-es and it works fine. so
anyway, when i run my little green_shoes app (which runs fine on my 32bit
computer) i get the following error:

/home/justin/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require': uninitialized constant Gdk::Drawable (NameError)
        from
/home/justin/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
        from
/home/justin/.rvm/gems/ruby-1.9.2-p290/gems/gtk2-1.0.0/lib/gtk2/base.rb:25:in
`rescue in <top (required)>'
        from
/home/justin/.rvm/gems/ruby-1.9.2-p290/gems/gtk2-1.0.0/lib/gtk2/base.rb:21:in
`<top (required)>'
        from
/home/justin/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
        from
/home/justin/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
        from
/home/justin/.rvm/gems/ruby-1.9.2-p290/gems/gtk2-1.0.0/lib/gtk2.rb:11:in
`<top (required)>'
        from
/home/justin/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
        from
/home/justin/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
        from
/home/justin/.rvm/gems/ruby-1.9.2-p290/gems/green_shoes-1.0.282/lib/green_shoes.rb:6:in
`<top (required)>'
        from
/home/justin/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in
`require'
        from
/home/justin/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in
`rescue in require'
        from
/home/justin/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in
`require'
        from ./spaceship_earth.rb:21:in `<main>'

any ideas? ruby-gtk seems to be installed fine... i'm not sure what else to
check.
hex

···

--
my blog is cooler than yours: serialhex.github.com

The wise man said: "Never argue with an idiot. They bring you down to their
level and beat you with experience."

> Other than the fact Linux has a cool name, could someone explain why I
> should use Linux over BSD?

No. That's it. The cool name, that is. We worked very hard on
creating a name that would appeal to the majority of people, and it
certainly paid off: thousands of people are using linux just to be able
to say "OS/2? Hah. I've got Linux. What a cool name". 386BSD made the
mistake of putting a lot of numbers and weird abbreviations into the
name, and is scaring away a lot of people just because it sounds too
technical.

  -- Linus Torvalds' follow-up to a question about Linux

Hi hex,

when i run my little green_shoes app (which runs fine on my 32bit
computer) i get the following error:

(snip)

ruby-gtk seems to be installed fine

Oh, I see.
I'd like to run your app (spaceship_earth.rb?). Can I get your code?

ashbb

here is the code:

it runs fine on my 32-bit computer... though it's not *nearly* finished (the
UI anyway, the SpaceshipEarth class is) and needs to be cleaned up and
whatnot, it should run without much of a problem. let me know what you
think (of the 64-bit problem & the code itself :smiley: )
hex

···

On Wed, Sep 7, 2011 at 6:06 PM, ashbb <ashbbb@gmail.com> wrote:

Hi hex,

> ruby-gtk seems to be installed fine
Oh, I see.
I'd like to run your app (spaceship_earth.rb?). Can I get your code?

ashbb

--
my blog is cooler than yours: serialhex.github.com

The wise man said: "Never argue with an idiot. They bring you down to their
level and beat you with experience."

> Other than the fact Linux has a cool name, could someone explain why I
> should use Linux over BSD?

No. That's it. The cool name, that is. We worked very hard on
creating a name that would appeal to the majority of people, and it
certainly paid off: thousands of people are using linux just to be able
to say "OS/2? Hah. I've got Linux. What a cool name". 386BSD made the
mistake of putting a lot of numbers and weird abbreviations into the
name, and is scaring away a lot of people just because it sounds too
technical.

  -- Linus Torvalds' follow-up to a question about Linux

Hi hex,

I doubt of installing gtk2 again.

So, could you confirm the following?

- just open IRB
- input `require 'gtk2'`
- get `=> true`

I guess you'll get some error messages.

ps. I cloned serialhex/fun-stuff and ran spaceship_earth.rb on my Windows 7.
It worked well. :wink:

ashbb

unfortunately, i am not at my x64 computer today (it's at work, i'm not) so
i'll have to try tomorrow. though like i said, it runs fine on my 32-bit
linux boxes... but i'll give that a whirl tomorrow.
hex

···

On Thu, Sep 8, 2011 at 9:53 AM, ashbb <ashbbb@gmail.com> wrote:

Hi hex,

I doubt of installing gtk2 again.

So, could you confirm the following?

- just open IRB
- input `require 'gtk2'`
- get `=> true`

I guess you'll get some error messages.

ps. I cloned serialhex/fun-stuff and ran spaceship_earth.rb on my Windows
7.
It worked well. :wink:

ashbb

--
my blog is cooler than yours: serialhex.github.com

The wise man said: "Never argue with an idiot. They bring you down to their
level and beat you with experience."

> Other than the fact Linux has a cool name, could someone explain why I
> should use Linux over BSD?

No. That's it. The cool name, that is. We worked very hard on
creating a name that would appeal to the majority of people, and it
certainly paid off: thousands of people are using linux just to be able
to say "OS/2? Hah. I've got Linux. What a cool name". 386BSD made the
mistake of putting a lot of numbers and weird abbreviations into the
name, and is scaring away a lot of people just because it sounds too
technical.

  -- Linus Torvalds' follow-up to a question about Linux

there is what i get:

···

On Thu, Sep 8, 2011 at 9:53 AM, ashbb <ashbbb@gmail.com> wrote:

I doubt of installing gtk2 again.

So, could you confirm the following?

- just open IRB
- input `require 'gtk2'`
- get `=> true`

~~~~~
justin@act-linux [~]$ irb

                                       [ruby-1.9.2-p290]
ruby-1.9.2-p290 :001 > require 'gtk2'
NameError: uninitialized constant Gdk::Drawable
        from /home/justin/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
        from /home/justin/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
        from /home/justin/.rvm/gems/ruby-1.9.2-p290/gems/gtk2-1.0.0/lib/gtk2/base.rb:25:in
`rescue in <top (required)>'
        from /home/justin/.rvm/gems/ruby-1.9.2-p290/gems/gtk2-1.0.0/lib/gtk2/base.rb:21:in
`<top (required)>'
        from /home/justin/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
        from /home/justin/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
        from /home/justin/.rvm/gems/ruby-1.9.2-p290/gems/gtk2-1.0.0/lib/gtk2.rb:11:in
`<top (required)>'
        from /home/justin/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in
`require'
        from /home/justin/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in
`rescue in require'
        from /home/justin/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in
`require'
        from (irb):1
        from /home/justin/.rvm/rubies/ruby-1.9.2-p290/bin/irb:16:in `<main>'
~~~~~

so it has something to do with gtk.... idk what the problem is,
anyone have any ideas?? i've tried recompiling but to no avail

this makes me sad :cry:
hex

--
my blog is cooler than yours: http://serialhex.github.com
The wise man said: "Never argue with an idiot. They bring you down to
their level and beat you with experience."