我最近安装了RubyMine,我相信在安装过程中的某个时候它搞砸了我的环境。我的应用程序相对较旧,我正在运行 Rails -v 4.2.2 和 Ruby -v 2.2.3。
当我运行bundle install
它时,它会变得很远并且在以下位置失败:
The latest bundler is 2.0.1, but you are currently running 1.15.2.
To update, run `gem install bundler`
Downloading rails-4.2.2 revealed dependencies not in the API or the lockfile (bundler (< 2.0, >= 1.3.0)).
Either installing with `--full-index` or running `bundle update rails` should fix the problem.
该消息对我来说没有意义,因为我使用的是 < 2.0 且 >= 1.3 的 -v 1.15。我也运行了命令,--full-index
没有任何变化。有谁知道如何解决这一问题?