我有一个rails 6应用程序,工作正常,使用nginx的乘客,但有这样的日志错误:
App 759213 output: [passenger_native_support.so] trying to compile for the current user (www-data) and Ruby interpreter...
App 759213 output: (set PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY=0 to disable)
App 759213 output: Warning: compilation didn't succeed. To learn why, read this file:
App 759213 output: /tmp/passenger_native_support-gdcb4x.log
App 759213 output: [passenger_native_support.so] finding downloads for the current Ruby interpreter...
App 759213 output: (set PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY=0 to disable)
App 759213 output: Could not download https://github.com/phusion/passenger/releases/download/release-6.0.19/rubyext-ruby-3.0.6-x86_64-linux.tar.gz: no download tool found (curl or wget required)
App 759213 output: Trying next mirror...
App 759213 output: Could not download https://oss-binaries.phusionpassenger.com/binaries/passenger/by_release/6.0.19/rubyext-ruby-3.0.6-x86_64-linux.tar.gz: no download tool found (curl or wget required)
App 759213 output: Trying next mirror...
App 759213 output: Could not download https://s3.amazonaws.com/phusion-passenger/binaries/passenger/by_release/6.0.19/rubyext-ruby-3.0.6-x86_64-linux.tar.gz: no download tool found (curl or wget required)
App 759213 output: [passenger_native_support.so] will not be used (can't compile or download)
App 759213 output: --> Passenger will still operate normally.
App 759253 output: [passenger_native_support.so] trying to compile for the current user (www-data) and Ruby interpreter...
App 759253 output: (set PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY=0 to disable)
App 759253 output: Warning: compilation didn't succeed. To learn why, read this file:
App 759253 output: /tmp/passenger_native_support-8s1xwa.log
App 759253 output: [passenger_native_support.so] finding downloads for the current Ruby interpreter...
App 759253 output: (set PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY=0 to disable)
App 759253 output: Could not download https://github.com/phusion/passenger/releases/download/release-6.0.19/rubyext-ruby-3.0.6-x86_64-linux.tar.gz: no download tool found (curl or wget required)
App 759253 output: Trying next mirror...
App 759253 output: Could not download https://oss-binaries.phusionpassenger.com/binaries/passenger/by_release/6.0.19/rubyext-ruby-3.0.6-x86_64-linux.tar.gz: no download tool found (curl or wget required)
App 759253 output: Trying next mirror...
App 759253 output: Could not download https://s3.amazonaws.com/phusion-passenger/binaries/passenger/by_release/6.0.19/rubyext-ruby-3.0.6-x86_64-linux.tar.gz: no download tool found (curl or wget required)
App 759253 output: [passenger_native_support.so] will not be used (can't compile or download)
App 759253 output: --> Passenger will still operate normally.
App 759384 output: [passenger_native_support.so] trying to compile for the current user (www-data) and Ruby interpreter...
App 759384 output: (set PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY=0 to disable)
App 759384 output: Warning: compilation didn't succeed. To learn why, read this file:
App 759384 output: /tmp/passenger_native_support-1dlu9gp.log
字符串
为什么?又该如何解决?
1条答案
按热度按时间anhgbhbe1#
需要安装
curl
或wget