Skip to content

cannot execute binary file #98

@Fenhanwang

Description

@Fenhanwang

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions