Reputation: 1342
Using Shoes (v3.2) to 'Package my App'. Package directory with start script. Including full copy of shoes.
Opening the packaged app e.g. double click icon, the error console opens:
No such file or directory @ rb_sysopen -
/private/var/folders/20/9wqryt1n76s1f0b9mpq500nc0000gp/T/shoes-upload-gui.40507/upload-gui.shy
Visiting the temp directory the shy file is not packaged as part of that directory.
I have tried
/Applications/Shoes.app/Contents/MacOS/shoes-launch rubystart.rb
console log error never appears/Applications/Shoes.app/Contents/MacOS/shoes-launch rubystart.rb blah
then i get the same No such file or directory @ rb_sysopen - blah
error for that fileso it seems like the ruby-shoes packager is trying to call shoes-launch with additional command line parameters (its own shy file?)
anyone come across or fixed this e.g. not needed to put the full shy package within itself?
thanks Ben
Upvotes: 2
Views: 117
Reputation: 7020
It seems to happen only when trying to package the whole directory.
(Which also requires creation of a .shy file)
My workaround would be: Package a single file and copy the rest into the bundled application.
I only tryed this on MacOSX and the path inside the App would be "Contents/MacOS/".
After doing this everything worked fine, my app is very simple though.
Upvotes: 0
Reputation: 1342
I never fixed the shoes packager. I had to manipulate the final xxx.app as follows
and it all works. there is no error when opening the app.
conclusion: something in the .shy file perhaps? shoes is being upgraded to shoes 4 anyhow, and all this was on shoes 3.
Upvotes: 1