![]() |
RubyScript2Exe Help :(
Im trying to compile a script and ive read the RubyScript2Exe website and how to compile a script but I dont understand it. Can anyone tell me how to compile the script? The name of the script is application.rb.
|
|
Quote:
|
You mean you switched from Ruby to Python because you didn;t knwo how to use one tool.
I posted the link because it has step by step instructions. What do you want me to do, copy and paste it? Or write the same thing out again? Now lets do this step by step so you understand. :
c:\home\erik> ruby rubyscript2exe.rb application.rb[w] [parameters]This is pretty simple. Say you have your script that you want to be an executable. Its called my_script.rb. Just run what it says: :
c:\home\erik> ruby rubyscript2exe.rb myscript.rbThere you go, one Windows executable from a ruby script. I have just copied what it says from the link. Have fun. |
Quote:
|
Thats not the only reason I moved on to Python. The main reason is because I already know how to use the tools for Python and ive made alot of programs with Python before but ive stopped around a year ago. Also I dont have the directory "c:\home\erik>" so that doesnt make sense if I paste that code.
|
It was an example, what am I meant to do? Somehow hack into your computer, find where you store all of your ruby scripts and use that directory? Use your common sense.
If you were actually typing that in, then its no wonder that the step by step instructions on the site didn't work for you. |
Quote:
|
Maybe I am a bit late in my response, but even still, you couldn't possibly have advanced too far with Python in this time range.
Your reasoning for using Python over Ruby is so redundant I can hardly bare it. Ruby is a far nicer looking, cleaner syntax, and probably altogether easier to use language than Python. Python's only advantage is the fact that it is older, and thus being older it has been exposed to more and supports more. Python also spread earlier than Ruby, if you ask me, it seems like Ruby just started to spread in recent times. Never choose one language over the other because you are more familiar with the tools! This is the reason why many people I know are afraid to get away from Visual Basic 6. They know the software (keyword here, too bad the keyword isn't 'language'?) too well to leave it alone. Give Ruby a chance the same way you gave Python a chance. |
| All times are GMT -5. The time now is 8:29 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC