【发布时间】:2019-10-31 01:46:24
【问题描述】:
我想在 elastic beanstalk 中看到 rails 应用程序,但我可能对 ruby 版本感到愤怒。 但是,在任何地方都找不到 2.4.1 的描述。 你觉得什么样的问题?
Creating application version archive "xxx".
Uploading xxx.zip to S3. This may take a while.
Upload Complete.
2019-06-17 12:33:43 INFO Environment update is starting.
2019-06-17 12:33:49 INFO Deploying new version to instance(s).
2019-06-17 12:33:57 ERROR [Instance: xxx] Command failed on instance. Return code: 18 Output: (TRUNCATED)...e ']'
+ bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
Your Ruby version is 2.6.3, but your Gemfile specified 2.4.1.
Hook /opt/elasticbeanstalk/hooks/appdeploy/pre/10_bundle_install.sh failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.
2019-06-17 12:33:57 INFO Command execution completed on all instances. Summary: [Successful: 0, Failed: 1].
2019-06-17 12:33:57 ERROR Unsuccessful command execution on instance id(s) 'xxx'. Aborting the operation.
2019-06-17 12:33:57 ERROR Failed to deploy application.
ruby '2.6.3'
本地红宝石版本 ruby 2.6.3p62(2019-04-16 修订版 67580)[x86_64-darwin18]
弹力豆茎 Puma 与 Ruby 2.6 在 64 位 Amazon Linux/2.9.5 上运行
【问题讨论】:
标签: ruby-on-rails amazon-web-services amazon-elastic-beanstalk