Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / Anyway to compile to one exe file?
- By hima Date 2008-11-25 17:03
I've tried rubscript2exe, but it doesn't work. It give me no error but it give me no exe file neither :(   I've managed to compile the game into one big  .rb file now.  I've also tried exerb, but it doesn't seems to work with .rb file compiled from tar2rb

So, does anybody know any other approach? Or maybe how to use exerb to compile everything into one .exe file?  Thank you in advance.
- By hima Date 2008-11-26 02:23
Wow, I finally got exerb to work.  Still, exerb won't do anything with all your resources file though :(  Is there any way to deal with this so that no one can steal your resource?
- By jlnr (dev) Date 2008-11-26 11:42
Why is RubyScript2Exe not working for you? The weird recursive inclusion problem with rubygems again?
- By hima Date 2008-11-26 16:09
No, I think it's the  replace frozen string thingy.  But now that I solved it according to this link

http://rha7dotcom.blogspot.com/2008/09/rubyscript2exerb-and-623-cant-modify.html

It gave me no error, but now it doesn't produce any .exe file either :/
- By HybridMind Date 2009-01-02 06:05
Hima,

I had the problem with rubyscript2exe that the link you posted was supposed to solve.  I also googled and found a whole bunch of suggestions but none did the trick until many hours passed.  I eventually discovered this link:

http://www.ruby-forum.com/topic/170355

I encountered the issue when I upgrade my winxp box recently to the latest version of the ruby one click installer.  The link above details that there was some kind of security patch which breaks something and you get that "attempt to modify frozen string error". 

The solution that worked for me was to uninstall the latest version of one-click and go back to using version ruby186-26.exe which is ruby-1.8.6-p111

I really like rubyscript2exe and was happy to be able to get it working again.  I emailed the developer of rubyscript2exe but didn't get any response on this issue either as far as attempting to alert him to maybe providing a possible work around so that people could use the latest version.
- By hima Date 2009-01-02 08:48
Thank you so much HybridMind! I've been using exerb which work very nicely though it won't encrypt your resources file. Now I can use this instead :)
- By jlnr (dev) Date 2009-01-04 14:16
Seems RubyScript2Exe is pretty much abandoned. I also reported an issue and didn't hear back from it yet :(
- By HybridMind Date 2009-01-04 16:07
That would be too bad if it is abandoned, I really love it's features.  Are there any other utils with it's feature set that anyone here has tried? 
Up Topic Gosu / Gosu Exchange / Anyway to compile to one exe file?

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill