如何解决安装 mini_racer (0.4.0) 时出错,Bundler 无法继续
我正在尝试使用 cloud9 ubuntu 服务器在弹性 beanstalk 上部署 ruby on rails 应用程序。我正在使用 awseb-cli 进行部署 我能够连接到我的弹性 beanstalk 环境,也可以通过 ssh 连接到 ec2 实例,这意味着我的 eb 状态和 eb ssh 正在工作,但是当我运行 eb deploy 时出现此错误,
# calculate the next time a review is available
def calc_next_review_time
next_review_time = Time.parse(@summary['data']['next_reviews_at']).localtime
if next_review_time < Time.now.localtime
system("open","https://www.wanikani.com")
else
next_review_time.strftime(' %l %p')
end
这里是宝石
eb deploy
Alert: Your environment is using a deprecated platform branch. It might not be supported in the future.
Alert: The platform version that your environment is using isn't recommended. There's a recommended version in the same platform branch.
Creating application version archive "app-edbc-210709_230802".
Uploading: [##################################################] 100% Done...
2021-07-09 23:08:16 INFO Environment update is starting.
2021-07-09 23:08:23 INFO Deploying new version to instance(s).
2021-07-09 23:08:47 ERROR [Instance: i-0fed7784c6a4ae86e] Command failed on instance. Return code: 5 Output: (TRUNCATED).../extensions/x86_64-linux/2.5.0-static/mini_racer-0.4.0/gem_make.out
An error occurred while installing mini_racer (0.4.0),and Bundler cannot
continue.
Make sure that `gem install mini_racer -v '0.4.0'` succeeds before bundling.
In Gemfile:
mini_racer.
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.
2021-07-09 23:08:47 INFO Command execution completed on all instances. Summary: [Successful: 0,Failed: 1].
2021-07-09 23:08:47 ERROR Unsuccessful command execution on instance id(s) 'i-0fed7784c6a4ae86e'. Aborting the operation.
2021-07-09 23:08:47 ERROR Failed to deploy application.
ERROR: ServiceError - Failed to deploy application.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。