ruby-on-rails - 无法将 Ruby on Rails 应用程序部署到 AWS,出现与“mini_racer”相关的错误
问题描述
使用“bundle exec cap production deploy”命令将我的应用程序部署到 AWS,我收到以下错误:
00:15 bundler:install
01 /usr/local/rbenv/bin/rbenv exec bundle insta…
01 Unable to find a spec satisfying mini_racer …
01 lockfile is corrupted?
bundle exit status: 7 (SSHKit::Command::Failed)
bundle stdout: Nothing written
bundle stderr: Unable to find a spec satisfying mini_racer (>= 0) in the set. Perhaps the
lockfile is corrupted?
我检查并尝试了“mini_racer”的每个版本,但都遇到了同样的错误。有人可以帮忙吗?
以下是与我的问题相关的宝石。如果需要,我会添加更多信息。
谢谢你。
宝石文件
gem 'mini_racer', platforms: :ruby
Gemfile.lock
mini_racer (0.3.0)
libv8 (> 8.4)
mini_racer
pg (>= 0.18, < 2.0)
BUNDLED WITH
2.2.20
解决方案
我以前也有这个问题。所以刚刚使用 mini_racer 删除,决定在 docker 中安装 nodeJs。
推荐阅读
- asp.net-core - .net核心如何访问项目外服务器上的共享文件夹
- php - 谷歌地图部分加载 - wordpress
- java - WildFly 13 数据源 getConnection(用户,密码)不起作用
- python - 在 Django 查询集中使用时间戳进行分组
- powerbi - 我怎样才能得到正确的不同值的总数?
- c# - 为什么collection1 和collection2 有相同的值?
- c# - 在C中查找活动用户目录的路径
- c# - 我如何知道我的应用程序是从 C# 中的控制台还是窗口打开的
- c# - Xamarin - Device.BeginInvokeOnMainThread 中的函数未正确调用
- node.js - PM2/NodeJS API 与 mongoDB 索引问题