小编bba*_*ral的帖子

部署 heroku 应用程序时无法在任何源中找到 nokogiri-1.11.1

我的第一篇文章在这里!将 Rails 应用程序部署到 Heroku 时,出现“无法在任何源中找到 nokogiri-1.11.1”错误。成功将应用程序推送到我的 git 存储库后,当我运行“git push heroku master”时,我收到错误。我的 ruby​​ 版本是 2.7.2,rails 是 6.1.3,bundler 版本是 2.1.4。谢谢你!

remote:        Running: BUNDLE_WITHOUT='development:test' BUNDLE_PATH=vendor/bundle BUNDLE_BIN=vendor/bundle/bin BUNDLE_DEPLOYMENT=1 bundle install -j4
remote:        The git source `git://github.com/rightscale/right_http_connection.git` uses the `git` protocol, which transmits data without encryption. Disable this warning with `bundle config set git.allow_insecure true`, or switch to the `https` protocol to keep your data secure.
remote:        Some gems seem to be missing from your vendor/cache directory.
remote:        Could not find nokogiri-1.11.1 in any of …
Run Code Online (Sandbox Code Playgroud)

git ruby-on-rails heroku ruby-on-rails-6.1

3
推荐指数
1
解决办法
4083
查看次数

标签 统计

git ×1

heroku ×1

ruby-on-rails ×1

ruby-on-rails-6.1 ×1