我尝试安装ruby应用程序。当我遇到安装捆绑包时,我收到以下错误:
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
activeadmin (>= 0) ruby depends on
bundler (< 2.0, >= 1.3.0) ruby
Current Bundler version:
bundler (1.1.4)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?
当我尝试使用以下输出时,gem install bundler的一切似乎都是正确的
Successfully installed bundler-1.6.2
1 gem installed
但重新进入安装捆绑后,我得到了与上面相同的错误...即使我卸载捆绑包,我收到此错误消息...
出了什么问题?
感谢您的帮助.. 的Heiko
答案 0 :(得分:2)
尝试以下方式并重新安装
gem uninstall bundler
gem install bundler --version '1.0.0'
根据应用需要指定bundler版本。
或
更新所有宝石:
gem update --system
gem update