Search code examples
rubyrubygemsshoes

dont have running shoes gem (Fedora)


I installed heme shoes sudo gem install shoes, but when you run a primitive application such as:

require 'Shoes'
Shoes.app { button("Click me!") { alert("Good job.") } }` 

I get the following error:

/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- Shoe (LoadError)
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in 'require'
from shoes.rb:1:in `<main>'

Solution

  • The current shoes gem does not work and it never did (it is a place holder). What does work are the preview versions of the shoes 4 gem, for which you need JRuby though. Then you can do gem instal shoes --pre.

    Shoes3 has to be downloaded as it's its whole own thing (with an own ruby interpreter etc.)