Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 31st, 2006, 6:15 PM   #1
infinite05
Newbie
 
Join Date: Jan 2006
Posts: 19
Rep Power: 0 infinite05 is on a distinguished road
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.
infinite05 is offline   Reply With Quote
Old Aug 1st, 2006, 2:55 AM   #2
coldDeath
Expert Programmer
 
coldDeath's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 862
Rep Power: 3 coldDeath is on a distinguished road
Send a message via AIM to coldDeath Send a message via Yahoo to coldDeath
http://www.erikveen.dds.nl/rubyscrip...dex.html#3.1.0
__________________
Join us at #programmingforums @ irc.freenode.net!

My software never has bugs. It just develops random features.
coldDeath is offline   Reply With Quote
Old Aug 1st, 2006, 12:16 PM   #3
infinite05
Newbie
 
Join Date: Jan 2006
Posts: 19
Rep Power: 0 infinite05 is on a distinguished road
Quote:
Originally Posted by infinite05
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.
Yeah, giving me a link to the website helped alot. Ive read it over and over but im not sure how to do it but who cares. I went on to Python.
infinite05 is offline   Reply With Quote
Old Aug 1st, 2006, 12:34 PM   #4
coldDeath
Expert Programmer
 
coldDeath's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 862
Rep Power: 3 coldDeath is on a distinguished road
Send a message via AIM to coldDeath Send a message via Yahoo to coldDeath
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.
coldDeath is offline   Reply With Quote
Old Aug 1st, 2006, 12:38 PM   #5
peace_of_mind
Professional Programmer
 
peace_of_mind's Avatar
 
Join Date: Sep 2004
Location: Hell if I know most of the time
Posts: 435
Rep Power: 4 peace_of_mind is on a distinguished road
Send a message via MSN to peace_of_mind Send a message via Yahoo to peace_of_mind
Quote:
Originally Posted by infinite05
...but who cares. I went on to Python.
At that rate you'll have given up on every language except maybe basic. How 'bout a little sticktuitiveness?
__________________
Amateurs built the ark
Professionals built the Titanic

peace_of_mind is offline   Reply With Quote
Old Aug 1st, 2006, 1:15 PM   #6
infinite05
Newbie
 
Join Date: Jan 2006
Posts: 19
Rep Power: 0 infinite05 is on a distinguished road
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.
infinite05 is offline   Reply With Quote
Old Aug 1st, 2006, 1:40 PM   #7
coldDeath
Expert Programmer
 
coldDeath's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 862
Rep Power: 3 coldDeath is on a distinguished road
Send a message via AIM to coldDeath Send a message via Yahoo to coldDeath
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.
coldDeath is offline   Reply With Quote
Old Aug 1st, 2006, 1:48 PM   #8
infinite05
Newbie
 
Join Date: Jan 2006
Posts: 19
Rep Power: 0 infinite05 is on a distinguished road
Quote:
Originally Posted by coldDeath
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.
As I said before im moving on to Python so please stop posting back. I will stop posting here too because I have no interest in this anymore.
infinite05 is offline   Reply With Quote
Old Sep 25th, 2006, 8:55 PM   #9
Yegg
Newbie
 
Join Date: Jan 2006
Posts: 20
Rep Power: 0 Yegg is on a distinguished road
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.
Yegg is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:04 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC