小编Ale*_*ith的帖子

AWS ElasticBeanstalk + Ruby on Rails:Bundler“shared_helpers”错误

我正在尝试更新 Rails 应用程序的 Ruby 版本,但在部署到 AWS ElasticBeanstalk 时遇到 Bundler 问题。

将 Ruby 从版本升级2.3.42.5.7

  • 红宝石:2.3.4 -> 2.5.7
  • 轨道:5.1.7
  • 捆绑器:1.17.3
  • 美洲狮:3.12.1

我的 ElasticBeanstalk 环境正在运行 Ruby-2.5.7,我能够成功部署该应用程序。

在我的日志中,我在尝试加载网站时遇到错误。

=== puma startup: 2019-10-22 20:41:56 +0000 ===
=== puma startup: 2019-10-22 20:41:56 +0000 ===
[22501] - Worker 0 (pid: 22504) booted, phase: 0
[22501] - Gracefully shutting down workers...
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent …
Run Code Online (Sandbox Code Playgroud)

ruby ruby-on-rails bundler amazon-elastic-beanstalk

5
推荐指数
0
解决办法
478
查看次数