我正在运行 Ruby 1.9.3 和 Rails 4.0.0,我刚刚开始学习如何使用 Ruby on Rails。每当我键入创建项目的命令时:rails new blog 当捆绑包尝试执行“捆绑包安装”命令时,我会收到此错误:
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
rails (= 4.0.0) ruby depends on
bundler (< 2.0, >= 1.3.0) ruby
Current Bundler version:
bundler (1.2.3)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?
但是使用命令: gem list bundle 返回:bundler (1.3.5, 1.2.3) 并且命令: bundle -v 返回:Bundler version 1.3.5
我不知道为什么会这样,我感谢任何帮助,谢谢。