Closed fism88 closed 9 years ago
Thanks a lot for trying this out!
hehe you seem to have an older version of the shoes gem installed (probably from the packaging tries) and that is being used.
The way I'd want it to work would be:
bundle install
bundle exec jruby -J-XstartOnFirstThread shoes_presentation.rb
and that should work.
To make it work witht he bin/shoes script I believe you have to gem uninstall shoes
but it could be that the script can not be started from another directory... hmmm. So um please try the above :-)
So bundle install
completes, but when I try from the shoes_presentation directory bundle exec jruby -J-XstartOnFirstThread shoes_presentation.rb
, I get this error:
Presenting 32 slides
NameError: uninitialized constant Presentation::Shoes
const_missing at org/jruby/RubyModule.java:2631
start at /Users/fismail/Documents/shoes_presentation/presentation.rb:6
(root) at shoes_presentation.rb:18
Line 18? Does your shoes_presentation.rb
have the require 'shoes'
on top of the file? Or just do a git pull (I think I added that like yesterday evening) :-)
Thanks a lot for trying this out! =)
Tobi
no problem! ah okay yeah I needed to pull in the latest changes.
Now though, I'm getting really weird behavior where it seems to freeze up with a white background. Not sure what's going on. We might need someone else to try it too.
It seems to freeze?
The first slide is intentionally white (I should add that to the README) try hitting right arrow/page down then it should advance to the next slide
Yeah, pushing arrows doesn't seem to progress to the next slide so I'm not sure what's going on
I should add that the background behind the Shoes window also becomes white, which is really strange
Hmmm there actually should not be a shoes window, the shoes application should already start in fullscreen mode.
E.g. what happens when you run this script:
Shoes.app fullscreen: true do
para 'I am fullscreen'
end
does that work?
But very strange, thanks for checking it out! Maybe I should steel a macbook from a friend and try it out...
I get a shoes window with the text 'I am fullscreen' in there and also a white background is in fullscreen but I can't do anything else, like using the close button on the title bar of the shoes window.
Hmmm there shouldn't be a title bar as it should be like really fullscreen... was this also kind of what it looked like when trying to start the shoes_presentation?
Thanks a lot for checking this out!
Unfortunately fullscreen really is broken on Mac... refer to shoes/shoes4#397
@jasonrclark any update on this with the wingtips structure and everything? Would need/love that in the README :)
Yeah, it could definitely use some updating with how things have moved. Will get to that with whatever next batch of changes I PR on here.
Should be done now :)
I'm running this command specific to my environment:
../shoes4/bin/shoes shoes_presentation.rb
It opens a window with a white background and then when I press an arrow key I get this error:
Did I try to run it correctly?