当我试图将应用程序部署到Heroku (这是我第一次)时,我面临着无法处理的错误。Could not find 'bundler' (2.0.1) required by your /tmp/build_e569680f858939ef8f1f8ef3e8902eff/Gemfile.lockbuildpacks1. heroku/nodejs
2. heroku/rub
/tmp/build_3cljt2m8e8r7e/Gemfile:2:in `evaluate': undefined method `ruby' for #<Bundler::Dsl:0x00000003221778> (NoMethodError)
from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/
$ rails new app然后我想我应该运行一个跟踪来找出发生了什么,因为你不会期望在这一点上有一个Gemfile,因为通常上面的命令会在一个名为app的目录中创建一个完整的新rails应用程序,该目录中包含Gemfile。$ rake -v我假设我的设置有问题,但我看不到任何问题。-1.9.1-p431 [ i386 ] r
在尝试运行cap production deploy时,我得到了以下错误。DEBUG [dc362284] Bundler::GemNotFound: Could not find json-1.8.1.gem for installation
DEBUG [dc362284] An error occurred while installing json (1.8.1), and Bundler cannot continue.重要的是要注意,这个部署是有效的,我升级到Ruby 2.1.0以消除一个编码<em
Bundler无法为gem“bundler”找到兼容版本:Bundler could not find compatible versions for gem "bundler": bundler (~> 2.2)
rails (= 6.1.4.6) was resolved to 6.1.4.6, which depends onbundler (&
大家好,我检查过所有分享安装ruby在rails上的人,但问题是一样的。jbuilder 2.7.0 Using rails-html-sanitizer 1.0.3 Bundler::GemspecError: Could not read gem at
/usr/local/lib/ruby/gems/2.4.0/cache/sele
在heroku....here is my gemfile...what do I do上,我一直收到此错误
gem 'rails', '2.3.8Make sure all dependencies are added to Gemfile./usr/ruby1.9.2/lib/ruby/gems/1.9.1
一切都进行得很顺利,但我需要回到2.3.1,因为2.4.0特有的问题我尝试将Gemfile中的版本更改为Gemfile(作为ruby "2.3.1"),但它只是抛出了绑定错误Your RubyYour Ruby version is 2.4.0, but your Gemfile specified 2.3.1
Bundler Output: Warning: the runningYour Ruby