创建一个全新的 rails 应用程序之后,按照官方 rails 博客文章,尝试将应用程序转换为 rails 3.2.0.rc2 会产生以下结果
Updated Gemfile to depend on rails ~> 3.2.0.rc2
gem 'rails', '~>3.2.0.rc2'
Updated Gemfile to depend on sass-rails ~> 3.2.3
gem 'sass-rails', '~> 3.2.3'
$ bundle install
Fetching source index for http://rubygems.org/
Bundler could not find compatible versions for gem "activesupport":
In snapshot (Gemfile.lock):
activesupport (3.1.1)
In Gemfile:
rails (~> 3.2.0.rc2) ruby depends on
activesupport (= 3.2.0.rc2) ruby
Running `bundle update` will rebuild your snapshot from scratch, using
only the gems in your Gemfile, which may resolve the conflict.
$bundle update
Fetching source index for http://rubygems.org/
Bundler could not find compatible versions for gem "railties":
In Gemfile:
coffee-rails (~> 3.1.1) ruby depends on
railties (~> 3.1.0) ruby
rails (~> 3.2.0.rc2) ruby depends on
railties (3.2.0.rc2)
究竟是什么问题?
系统规格:
Mac OS 10.7.2、Xcode 4.2.1、rvm 1.10.1 使用 ruby 1.9.3p0(2011-10-30 修订版 33570)[x86_64-darwin11.2.0]