I have fallow this
I can make file.exe that can run normally by use
rubyscript2exe new/
new/ is my folder that contain data (image etc..)
and then I want to make it run without DOS I try
rubyscript2exe new/ --rubyscript2exe-rubyw
It can make .exe file but when I click on it, it nothing happen.. what
I'm doing wrong
···
--
Posted via http://www.ruby-forum.com/\ .
L_G
(L. G.)
28 April 2008 19:12
2
Pat Kiatchaipipat wrote:
I have fallow this
Re: Question: Ruby application packaging - Ruby - Ruby-Forum
I can make file.exe that can run normally by use
rubyscript2exe new/
new/ is my folder that contain data (image etc..)
and then I want to make it run without DOS I try
rubyscript2exe new/ --rubyscript2exe-rubyw
It can make .exe file but when I click on it, it nothing happen.. what
I'm doing wrong
Example:
test.rb - It's your file.
and you want test.rb to test.exe yes?
It's easy:
···
rubyscript2exe test.rb test.exe
--
Posted via http://www.ruby-forum.com/\ .
my file is many picture and I want to make to exe for run in other
computer so I put all file in '/new' unless It can make only .rb to exe
and can't show picture. I can make .exe now but I will pop up DOS and I
don't want it. I want to know how to do
···
--
Posted via http://www.ruby-forum.com/ .
Phil
(Phil)
29 April 2008 01:31
4
Pat Kiatchaipipat wrote:
my file is many picture and I want to make to exe for run in other
computer so I put all file in '/new' unless It can make only .rb to exe
and can't show picture. I can make .exe now but I will pop up DOS and I
don't want it. I want to know how to do
http://www.erikveen.dds.nl/rubyscript2exe/index.html#3.1.0
As Luka pointed out, you want the --rubyscript2exe-rubyw switch.
- --
Phillip Gawlowski
Twitter: twitter.com/cynicalryan
~ I imagine bugs and girls have a dim perception that nature played a
cruel trick on them, but they lack the intelligence to really comprehend
the magnitude of it. -- Calvin
I try
rubyscript2exe new/ --rubyscript2exe-rubyw
It can make new.exe but when I run this file. it's nothing happen
···
--
Posted via http://www.ruby-forum.com/\ .
Pat Kiatchaipipat wrote:
I try
rubyscript2exe new/ --rubyscript2exe-rubyw
It can make new.exe but when I run this file. it's nothing happen
Try creating it with --rubyscript2exe-ruby and running in it a DOS box first to see if it raises an exception.
Also, you should ensure that your script doesn't call "puts" or similar as this may cause errors with the -rubyw switch, because the output is closed.
a
Alex Fenton wrote:
Pat Kiatchaipipat wrote:
I try
rubyscript2exe new/ --rubyscript2exe-rubyw
It can make new.exe but when I run this file. it's nothing happen
Try creating it with --rubyscript2exe-ruby and running in it a DOS box
first to see if it raises an exception.
Also, you should ensure that your script doesn't call "puts" or similar
as this may cause errors with the -rubyw switch, because the output is
closed.
a
my code has some "puts" in other files that I require it. I will delete
it and try again. thank you
···
--
Posted via http://www.ruby-forum.com/\ .