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 ’
any ideas? ruby-gtk seems to be installed fine… i’m not sure what
else to
check.
hex
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
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 )
hex
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
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
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
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
hex
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.