こんにちは、Spreecommerce の言語を変更したいので、追加します (次のドキュメントhttps://github.com/spree/spree_i18n ) gems
Gemfileへ
gem 'spree_i18n', github: 'spree/spree_i18n'
gem 'globalize3', github: 'svenfuchs/globalize3', branch: 'rails4'
gem 'paper_trail', github: 'airblade/paper_trail'
しかし、私が実行するbundle install
とエラーが発生します
Resolving dependencies...
Bundler could not find compatible versions for gem "activerecord":
In Gemfile:
globalize3 (>= 0) ruby depends on
activerecord (>= 4.0.0) ruby
rails (= 3.2.14) ruby depends on
activerecord (3.2.14)
spreecommerce の私のバージョンは安定した 2.0、私の Gemfile です
source 'https://rubygems.org'
gem 'rails', '3.2.14'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'sqlite3'
gem 'spree', github: 'spree/spree', branch: '2-0-stable'
gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '2-0-stable'
# Lokalizace
gem 'spree_i18n', github: 'spree/spree_i18n'
gem 'globalize3', github: 'svenfuchs/globalize3', branch: 'rails4'
gem 'paper_trail', github: 'airblade/paper_trail'
# 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'
私もこれを試しgem 'spree_i18n', github: 'spree/spree_i18n', branch: '2-0-stable'
ましたが、違いはありません。:-)