1
我弄壞了我的應用程序嘗試更新到rails 4,現在不知道該怎麼辦,有人可以幫忙 - 謝謝!我能做些什麼來讓我所有的寶石回到他們應該的版本?無法在捆綁更新導軌上找到適用於gem「activemodel」的兼容版本
我的錯誤:
C:\sites\code\OM Rails\omrails>bundle update rails
Fetching gem metadata from https://rubygems.org/........
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Bundler could not find compatible versions for gem "activemodel":
In Gemfile:
simple_form (>= 0) x86-mingw32 depends on
activemodel (~> 3.0) x86-mingw32
rails (= 4.0.0.rc1) x86-mingw32 depends on
activemodel (4.0.0.rc1)
的Gemfile:
source 'https://rubygems.org'
gem "activerecord"
gem 'rails' , '4.0.0.rc1'
gem "jquery-rails"
gem "devise"
gem 'simple_form'
gem "paperclip"
gem 'aws-sdk'
gem 'will_paginate'
gem 'bootstrap-will_paginate'
gem 'thumbs_up'
gem 'activeadmin'
gem "meta_search"
gem 'acts-as-taggable-on'
gem 'postmark-rails'
gem "railties"
group :production do
gem 'pg'
end
group :development, :test do
gem 'sqlite3'
end
group :assets do
gem 'sass-rails', '4.0.0.rc1'
gem 'coffee-rails', '4.0.0'
gem 'bootstrap-sass', '~> 2.3.2.1'
gem 'uglifier', '>= 1.0.3'
end
gem "mocha", :group => :test
另外,從Rails版本中刪除.rc1。 Rails 4現已發佈。 – Dogweather
另外,你爲什麼要列出「寶石」railties? – depa