now i realize that this is a difficult process with no easy do this then that answer and will probably require a little programing on my part too but I would really like to give it a try.
I want to compile from the ruby source code a Single binary executable that I could pass a script to and execute. I don't want to compile and scripts in to it I just want to make an interpreter contained in one exe (or other binary for what ever platform).
can someone point me in the right direction? perhaps inform me of what tools I will need? tell me what kind of mess I'm diving into ect.?
I did some research after posting this. it seems I would need to make a program that can not only put the entire ruby directory into one binary but set up the environment ect. I'm not ready to even get close that that kind of stuff.
Weird, I thought there were programs like ruby2exe and other ones that do all of that stuff for you.
kinda. rubyscript2exe barely works with ruby 1.9 and in order to run it has to extract all the data to a temp directory. crate which was designed to not need to extract to work, was stopped mid development 2 years ago. as for OCRA it works great but it only works for windows, and it still has to extract. I was thinking that it should be possible to compile a binary that can run with out extracting.
in any case forget it, I've decided it is better left to thouse more experienced. perhaps they will finally work on maying Ruby more deployable, there is a ruby summer of cod project for creating a ruby archive format that would serve the function of a JAR file in Java after all...
You still have Python as alternative if you want multiplatform. xD
very true