私のシステムにactiveadmin-globalizeをインストールしようとしてい ます:
Rails 3.2.13 ruby 1.9.3p429 (2013-05-15 リビジョン 40747) [x86_64-linux] Gem 1.8.23
これを Gemfile に追加しました:
gem "activeadmin-globalize", git: 'https://github.com/stefanoverna/activeadmin-globalize', branch: 'master
'
それでbundle install
次に、エラーが発生します:
Updating https://github.com/stefanoverna/activeadmin-globalize
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:
activeadmin-globalize (>= 0) ruby depends on
activemodel (< 5, >= 4.0.0) ruby
paperclip (~> 3.0) ruby depends on
activemodel (3.2.13)
これまで、他の gem のインストールは失敗しませんでした。
私のGemfile
source 'https://rubygems.org'
gem 'rails', '3.2.13'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'mysql2'
gem 'therubyracer'
gem "passenger", "~> 4.0.37"
gem "ancestry", "~> 2.0.0"
gem 'friendly_id'
gem 'devise'
gem "activeadmin-globalize", git: 'https://github.com/stefanoverna/activeadmin-globalize', branch: 'master'
#gem "jquery-rails", "< 3.0.0"
gem 'jquery-rails', '~> 2.3.0'
gem 'activeadmin'
gem 'will_paginate', '3.0'
gem 'globalize3'
#gem 'jquery-ui-rails'
gem "paperclip", "~> 3.0"
gem "tinymce-rails", "~> 3.5.9.pre2"
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', :platforms => :ruby
gem 'uglifier', '>= 1.0.3'
end
#gem 'jquery-rails'
# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'
# To use Jbuilder templates for JSON
# gem 'jbuilder'
# Use unicorn as the app server
# gem 'unicorn'
# Deploy with Capistrano
# gem 'capistrano'
# To use debugger
# gem 'debugger'