我正在尝试将Enki gem博客推向Heroku,我收到了一个错误
Could not find jquery-rails-2.0.0 in any of the sources
但是,在我的Gemfile中
`gem 'jquery-rails'`
我之前从未尝试使用此设置推送Enki博客.这是完整的错误消息
 Running: bundle install --without development:test --path vendor/bundle --binstubs bin/ --deployment
           Fetching gem metadata from https://rubygems.org/.......
           Could not find jquery-rails-2.0.0 in any of the sources
     !
     !     Failed to install gems via Bundler.
     !
     !     Heroku push rejected, failed to compile Ruby/rails app
收到错误消息后,我将其添加到gemfile中
gem 'jquery-rails-2.0.0'
我收到此错误消息
Could not find gem 'jquery-rails-2.0.0 (>= 0) java' in the gems available on this machine.
然后我试着去做
gem install jquery-rails …情况:
我正在尝试设置 Cocoapods。
我使用的是 OSX 12.2。我已经用 Homebrew 安装了 Ruby。当我跑步时gem list minitest (5.15.0)列出。
在终端中运行pod setup失败,因为它无法minitest (>=5.1)在 39 个宝石中找到。
我注意到搜索到的目录看起来是 OSX 系统 ruby 安装位置Library/Ruby/Site/2.6.0;而不是我用 Homebrew 安装的ruby 3.1.0(at )。/usr/local/opt/ruby/bin/ruby
我假设我需要做的是将终端指向ruby 3.1.0; 但是,我仔细检查了我的 .zhsrc 文件,它看起来是有序的(我是通过阅读 SO 问题以及 Ruby 和 Cocoapods 设置指南了解到这一点的 - 所以我对此可能是非常错误的)。
这是以下内容.zhsrc:
export PATH="/usr/local/sbin:$PATH"
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/Users/sean/Desktop/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/sean/Desktop/google-cloud-sdk/path.zsh.inc'; fi
# The next …