With ruby 2.1.3 (installed from the BrightBox PPA), and passenger 4.0.53 installed according to these instructions;
I'm seeing these errors in the nginx log;
App 7836 stdout:
App 7836 stderr: --> Compiling passenger_native_support.so for the current Ruby interpreter...
App 7836 stderr:
App 7836 stderr: (set PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY=0 to disable)
App 7836 stderr:
App 7836 stderr: Warning: compilation didn't succeed. To learn why, read this file:
App 7836 stderr: /tmp/passenger_native_support-1pnyet0.log
App 7836 stderr: --> Downloading precompiled passenger_native_support.so for the current Ruby interpreter...
App 7836 stderr: (set PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY=0 to disable)
App 7836 stderr: Trying next mirror...
App 7836 stderr: --> Continuing without passenger_native_support.so.
App 7836 stderr:
App 7836 stderr: sh: 1:
App 7836 stderr: env: not found
Curl is installed on the machine, but I think the problem is that the link it's trying to download from is incorrect. If I visit this URL in a browser;
...there is no "rubyext-ruby-2.1.3-x86-linux-gnu.tar.gz" file, but there is a "rubyext-ruby-2.1.3-x86-linux.tar.gz"
Is the incorrect file URL compiled into passenger? None of the files at that S3 URL match /linux-gnu/
David