【发布时间】:2021-02-27 20:58:15
【问题描述】:
即使我的 gemfile 中有更高版本的 bundler,我也遇到了这个问题。可能是什么问题导致了这种情况?
APP/PROC/WEB 0 from /home/vcap/app/bin/bundle:3:in `<main>'
Feb 18, 2021, 08:40:32 PM
APP/PROC/WEB 0 from /usr/lib/ruby/2.5.0/rubygems.rb:263:in `bin_path'
Feb 18, 2021, 08:40:32 PM
APP/PROC/WEB 0 To install the missing version, run `gem install bundler:2.1.4`
Feb 18, 2021, 08:40:32 PM
APP/PROC/WEB 0 To update to the lastest version installed on your system, run `bundle update --bundler`.
Feb 18, 2021, 08:40:32 PM
APP/PROC/WEB 0 /usr/lib/ruby/2.5.0/rubygems.rb:289:in `find_spec_for_exe': Could not find 'bundler' (2.1.4) required by your /home/vcap/app/Gemfile.lock. (Gem::GemNotFoundException)
Feb 18, 2021, 08:40:32 PM
APP/PROC/WEB 0 /usr/lib/ruby/2.5.0/rubygems.rb:289:in `find_spec_for_exe': Could not find 'bundler' (2.1.4) required by your /home/vcap/app/Gemfile.lock. (Gem::GemNotFoundException)
Feb 18, 2021, 08:57:02 PM
APP/PROC/WEB 0 To update to the lastest version installed on your system, run `bundle update --bundler`.
【问题讨论】:
标签: bundler cloud-foundry ruby-on-rails-6