解决方案:我运行的是Ruby2.6.6p146和Bundler版本2.2.4。根据@thiebo的建议,我将其降级为Bundler 2.1.2,它起了作用!我试着拯救Rakefile,并在我的Gemfile:中将rspec投入生产!(Gem::Exception) from /[...]ruby/2.6.0/gems/bundler-2.
当我试图将应用程序部署到Heroku (这是我第一次)时,我面临着无法处理的错误。and using the production group of your Gemfile.
remote: !Could not find 'bundler' (2.0.1) required by your /tmp/build_e569680f858939ef8f1f8ef3e8902eff/Gemfile.lockTo install the version of bund
在移除我的Gemfile.lock并重新安装以确保bundler版本大于2.0之后,我就开始获得另一个构建错误。这一次,我的项目所需的绑定版本是< 2:remote: Couldnot find 'bundler' (1.17.3) required by your /tmp/build_3b256cc6024c
这是一个私有的gem,我们没有一个私有的gem服务器设置,所以我在本地克隆了gem作为应用程序中的一个子模块。 !You are trying to install in deployment mode after changing
当我删除本地安装的gem时,一切都运行良好。
因此强烈的预感是,bundler 1.15.2以不同的方式处理本地gem,这导致了冲突。在我的Gemfile</em
AM: Finished restoring cached ruby gems10:54:13 AM: You must use BundlerBuild script returned non-zero exit code: 1请注意它是如何使用bundler在GemFile.lock中BUNDLED WITH考虑到站点似乎已经满足了要
ruby-1.9.3-jruby-1.7.4-----> Installing dependencies using BundlerClearing bundler cache./active_admin.git (at master)` to Bundler Output: Picked up JAVA_TOOL_OPTIONSFailed to install ge