Ruby を使い始めてまだ数日しか経っていません。gemfile の概念を完全には理解していません。私の Gemfile は次のようになります。
source 'http://rubygems.org'
gem 'sunspot_solr', github: 'sunspot/sunspot', branch: 'master'
gem 'sunspot_rails', github: 'sunspot/sunspot', branch: 'master'
ただし、「bundle install」を実行すると。
Bundler could not find compatible versions for gem "builder":
In Gemfile:
sunspot_rails (>= 0) ruby depends on
builder (~> 2.1.2) ruby
sunspot_rails (>= 0) ruby depends on
builder (3.2.2)
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
sunspot_rails (>= 0) ruby depends on
bundler (~> 1.0.0) ruby
Current Bundler version:
bundler (1.3.5)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?
競合があるため、どのバージョンのビルダーをインストールする必要がありますか?