# Rubyscript2exe - cannot execute binary problem

**URL:** <https://www.ruby-forum.com/t/rubyscript2exe-cannot-execute-binary-problem/104012>\
**Category:** Ruby\
**Created:** [May 12, 2007, 10:08pm UTC](https://www.ruby-forum.com/t/rubyscript2exe-cannot-execute-binary-problem/104012 "2007-05-12T22:08:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [May 12, 2007, 10:08pm UTC](https://www.ruby-forum.com/t/rubyscript2exe-cannot-execute-binary-problem/104012/1 "2007-05-12T22:08:23Z")

</div>

Dear all,

I am trying to compile a binary from a Ruby program using tar2rubyscript  
and  
rubyscript2exe  
from an archive.  
This gives me an executable file, which actually produces what I want  
the  
executable file to do,  
but just on the one computer I created the executable on - when I copy  
the  
executable to another computer, I get the following error for the  
script :

/bin/sh: /tmp/eee.appl2\_linux.2/bin/ruby: cannot execute binary file

Thank you for any advice.

Best regards,

Axel
