I just installed Shoes 4, but when I try the most basic program:
require 'shoes'
Shoes.app { button "test" }
It fails with this error:
NameError: uninitialized constant Shoes::Swt::App
I installed shoes using jruby -S gem install shoes --pre
, like it says to on github. Why does Shoes.app
give me a NameError
?
project maintainer here. That's a clear sheos4 bug/regression - thanks for finding it. This should go to the bug tracker of the project - I opened an issue for it and set it for the next release.
In the meantime, please use the shoes launcher :)
Feel free to report such things directly in our repo (I'm not the most active person on StackOvewrflow) so we can find them quicker. :)
update: issue is fixed on master through this pull request