![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Jan 2006
Posts: 19
Rep Power: 0
![]() |
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.
|
|
|
|
|
|
#2 |
|
Expert Programmer
|
__________________
Join us at #programmingforums @ irc.freenode.net! My software never has bugs. It just develops random features.
|
|
|
|
|
|
#3 | |
|
Newbie
Join Date: Jan 2006
Posts: 19
Rep Power: 0
![]() |
Quote:
|
|
|
|
|
|
|
#4 |
|
Expert Programmer
|
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] or c:\home\erik> ruby rubyscript2exe.rb application[/] [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.rb There you go, one Windows executable from a ruby script. I have just copied what it says from the link. Have fun.
__________________
Join us at #programmingforums @ irc.freenode.net! My software never has bugs. It just develops random features.
|
|
|
|
|
|
#5 | |
|
Professional Programmer
|
Quote:
__________________
Amateurs built the ark Professionals built the Titanic |
|
|
|
|
|
|
#6 |
|
Newbie
Join Date: Jan 2006
Posts: 19
Rep Power: 0
![]() |
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.
|
|
|
|
|
|
#7 |
|
Expert Programmer
|
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.
__________________
Join us at #programmingforums @ irc.freenode.net! My software never has bugs. It just develops random features.
|
|
|
|
|
|
#8 | |
|
Newbie
Join Date: Jan 2006
Posts: 19
Rep Power: 0
![]() |
Quote:
|
|
|
|
|
|
|
#9 |
|
Newbie
Join Date: Jan 2006
Posts: 20
Rep Power: 0
![]() |
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. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|