Open bil-bas opened 11 years ago
I posted to another issue before I saw this one, but this seems to fix it:
https://github.com/Spooner/releasy/issues/42#issuecomment-25287174
Regarding the main.rb/Main.rb issue, I actually don't understand why your workaround has any effect.
Your suggestion is to use :
Dir.chdir '../Resources/application'
instead of:
Dir.chdir 'application'
The main issue is that I don't have an OSX machine, so I've largely felt along with integrating with the .app and got friends to test it, which is obviously extremely tedious!
This is pretty horrid - there is a Main.rb file inside the .app which redirects the program to the script entry file. If that file is also called main.rb, then it will fall in a heap (they will both be in the $LOAD_PATH, you see!).
Temporary workaround: Just call your application something else, like "game.rb" or "my_app.rb" or well, anything else.