rubyscript2exe (Couldn't execute this command (rc=):

N

Nick Thisguy

Hello,
I am very new to ruby and can't seem to get rubyscript2exe to work
correctly I am running windows vista...i know...I have tried all of the
standard things I know how to do, such as reinstall ruby, the ruby gems,
rubyscript2exe, place all needed files in the same directory add require
'rubyscript2exe' at the top of the script along with exit if
rubyscript2exe.is_compiling, also have tried running with myscript.rb,
myscript.rbw, myscript.txt. But i still seem the get the same error.
everything I have works fine with Ubuntu 7.10, but I need to get this
working with windows for work purposes. The error is as follows:

Tracing myScript ...
Couldn't execute this command (rc=):
C:\Dir\Me\ruby\bin\ruby -r 'rubygems/rubygems_version.rb' -r '
rubygems/defaults.rb' -r 'thread.so' -r 'thread.rb' -r 'rbconfig.rb' -r
'rbconfi
g/datadir.rb' -r 'rubygems/exceptions.rb' -r 'rubygems/requirement.rb'
-r 'rubyg
ems/version.rb' -r 'rubygems/dependency.rb' -r
'rubygems/gem_path_searcher.rb' -
r 'rubygems/user_interaction.rb' -r 'rubygems/platform.rb' -r
'rubygems/specific
ation.rb' -r 'rubygems/source_index.rb' -r 'rubygems/builder.rb' -r
'rubygems/cu
stom_require.rb' -r 'rubygems.rb' -r 'ubygems.rb' -r 'etc.so' -r
'fileutils.rb'
-I
'C:/Dir/ME~1/AppData/Local/Temp/tar2rubyscript.d.11508.1/rubyscript2exe
' -I 'C:/Dir/ME~1/AppData/Local/Temp/tar2rubyscript.d.11508.1' -I
'C:/Dir
s/Me/ruby/lib/ruby/gems/1.8/gems/rubyscript2exe-0.5.3/bin' -I 'C
:/Dir/Me/ruby/lib/ruby/gems/1.8/gems/rubyscript2exe-0.5.3/lib'
-I 'C:/Dir/Me/ruby/lib/ruby/site_ruby/1.8' -I
'C:/Dir/Me/ruby/lib/ruby/site_ruby/1.8/i386-msvcrt' -I
'C:/Dir/Me/ruby/lib/ruby/site_ruby' -I 'C:/Dir/Me/ruby/lib/ruby/1.
8' -I 'C:/Dir/Me/ruby/lib/ruby/1.8/i386-mswin32' -I '.' -I 'C:
/Dir/Me/ruby/bin' -I 'C:/Dir/ME~1/AppData/Local/Temp/tar
2rubyscript.d.11508.1/rubyscript2exe' -I
'C:/Dir/ME~1/AppData/Local/Temp/t
ar2rubyscript.d.11508.1/rubyscript2exe/lib' -I
'C:/Dir/ME~1/AppData/Local/
Temp/tar2rubyscript.d.11508.1/rubyscript2exe' -I
'C:/Dir/ME~1/AppData/Loca
l/Temp/tar2rubyscript.d.11508.1/rubyscript2exe/lib' -r
'C:/Dir/ME~1/AppDat
a/Local/Temp/tar2rubyscript.d.11508.1/rubyscript2exe/require2lib.rb'
'myScript.r
bw'

any information on this matter would be greatly appreciated.

Thanks in advance!

koooee
 
L

Luis Lavena

Hello,
I am very new to ruby and can't seem to get rubyscript2exe to work
correctly I am running windows vista...i know...I have tried all of the
standard things I know how to do, such as reinstall ruby, the ruby gems,
rubyscript2exe, place all needed files in the same directory add require
'rubyscript2exe' at the top of the script along with exit if
rubyscript2exe.is_compiling, also have tried running with myscript.rb,
myscript.rbw, myscript.txt. But i still seem the get the same error.
everything I have works fine with Ubuntu 7.10, but I need to get this
working with windows for work purposes. The error is as follows:

Tracing myScript ...
Couldn't execute this command (rc=):
C:\Dir\Me\ruby\bin\ruby -r 'rubygems/rubygems_version.rb' -r '
rubygems/defaults.rb' -r 'thread.so' -r 'thread.rb' -r 'rbconfig.rb' -r
'rbconfi
g/datadir.rb' -r 'rubygems/exceptions.rb' -r 'rubygems/requirement.rb'
-r 'rubyg
ems/version.rb' -r 'rubygems/dependency.rb' -r
'rubygems/gem_path_searcher.rb' -
r 'rubygems/user_interaction.rb' -r 'rubygems/platform.rb' -r
'rubygems/specific
ation.rb' -r 'rubygems/source_index.rb' -r 'rubygems/builder.rb' -r
'rubygems/cu
stom_require.rb' -r 'rubygems.rb' -r 'ubygems.rb' -r 'etc.so' -r
'fileutils.rb'
-I
'C:/Dir/ME~1/AppData/Local/Temp/tar2rubyscript.d.11508.1/rubyscript2exe
' -I 'C:/Dir/ME~1/AppData/Local/Temp/tar2rubyscript.d.11508.1' -I
'C:/Dir
s/Me/ruby/lib/ruby/gems/1.8/gems/rubyscript2exe-0.5.3/bin' -I 'C
:/Dir/Me/ruby/lib/ruby/gems/1.8/gems/rubyscript2exe-0.5.3/lib'
-I 'C:/Dir/Me/ruby/lib/ruby/site_ruby/1.8' -I
'C:/Dir/Me/ruby/lib/ruby/site_ruby/1.8/i386-msvcrt' -I
'C:/Dir/Me/ruby/lib/ruby/site_ruby' -I 'C:/Dir/Me/ruby/lib/ruby/1.
8' -I 'C:/Dir/Me/ruby/lib/ruby/1.8/i386-mswin32' -I '.' -I 'C:
/Dir/Me/ruby/bin' -I 'C:/Dir/ME~1/AppData/Local/Temp/tar
2rubyscript.d.11508.1/rubyscript2exe' -I
'C:/Dir/ME~1/AppData/Local/Temp/t
ar2rubyscript.d.11508.1/rubyscript2exe/lib' -I
'C:/Dir/ME~1/AppData/Local/
Temp/tar2rubyscript.d.11508.1/rubyscript2exe' -I
'C:/Dir/ME~1/AppData/Loca
l/Temp/tar2rubyscript.d.11508.1/rubyscript2exe/lib' -r
'C:/Dir/ME~1/AppDat
a/Local/Temp/tar2rubyscript.d.11508.1/rubyscript2exe/require2lib.rb'
'myScript.r
bw'

any information on this matter would be greatly appreciated.

Thanks in advance!

That is supposed to be one command line?!?

I think there is a limit of 2K, and you didn't provided the code of
your script or the actual error message you're getting.

My experience with RubyScript2Exe was excellent, and never encountered
situations like you described, even it loads rubygems and other
things.

Can you provide more information?
 
N

Not Thisguy

Luis said:
That is supposed to be one command line?!?

I think there is a limit of 2K, and you didn't provided the code of
your script or the actual error message you're getting.

My experience with RubyScript2Exe was excellent, and never encountered
situations like you described, even it loads rubygems and other
things.

Can you provide more information?

The command I typed into the prompt was as follows

C:\Dir\Me\ruby\bin> ruby rubyscript2exe myScript.rbw

typed this from inside the directory that contains ruby and
rubyscript2exe

the error I posted was copied verbatim and pasted directly from the
command prompt into the post.

Thanks so much for taking the time to help with this matter.

koooee
 
N

Not Thisguy

I also do believe that entire thing is suppose to be one command that
rubyscript2exe is generating automatically.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,152
Members
46,698
Latest member
LydiaHalle

Latest Threads

Top