traveling-ruby icon indicating copy to clipboard operation
traveling-ruby copied to clipboard

cannot execute binary file

Open Fenhanwang opened this issue 6 years ago • 0 comments

cannot execute binary file

Thanks for the useful tool though first

I am following the instruction on the Github page but I got a cannot execute binary file on AWS Lambda. So I try to test on my local and get the same error message. Here is the error

/Users/xxx/Documents/lambda_ruby_2/tmp_rumbda/ruby/bin/ruby: line 6: /Users/xxx/Documents/lambda_ruby_2/tmp_rumbda/ruby/bin.real/ruby: cannot execute binary file

/Users/xxx/Documents/lambda_ruby_2/tmp_rumbda/ruby/bin/ruby: line 6: /Users/xxx/Documents/lambda_ruby_2/tmp_rumbda/ruby/bin.real/ruby: Undefined error: 0

The above error shows up when I want to run the wrapper. I went through the bash file and feel like maybe it's because of the binary ruby in bin.real folder

Fenhanwang avatar Jul 18 '18 17:07 Fenhanwang