이 여기에 나는이로 실행했습니다 처음은 아니다,하지만 구체적인 예입니다 :Bundler는 보석의 의존성을 충족시키기 위해 특정 버전이 필요하다고 생각하는 이유는 무엇입니까?
는$ bundle update rails
Fetching source index for http://rubygems.org/
Bundler could not find compatible versions for gem "builder":
In Gemfile:
rails (~> 3.0.0) ruby depends on
builder (~> 2.1.2) ruby
hoptoad_notifier (>= 0) ruby depends on
builder (3.0.0)
그래서 Bundler 프로그램은 hoptoad_notifier 보석 빌더의 3.0.0 버전에 따라 달라집니다 주장하고있다. 그러나, 그것은 단지 필요 그렇지 않다 빌더
$ gem dependency hoptoad_notifier
Gem hoptoad_notifier-2.4.11
actionpack (>= 0, development)
activerecord (>= 0, development)
activesupport (>= 0, runtime)
bourne (>= 0, development)
builder (>= 0, runtime)
nokogiri (>= 0, development)
shoulda (>= 0, development)
0 왜 Bundler를가 hoptoad_notifier 빌더 3.0.0에 따라 생각 하는가> =? Gemfile 및 Gemfile.lock에서
선정 비트 :
source "http://rubygems.org"
gem 'rails', '~> 3.0.0'
gem 'hoptoad_notifier'
...a bunch of testing gems, custom gems, etc.
Gemfile.lock는
GEM
remote: http://rubygems.org/
specs:
actionmailer (2.3.14)
actionpack (= 2.3.14)
...
builder (3.0.0)
...
cucumber (1.2.0)
builder (>= 2.1.2)
diff-lcs (>= 1.1.3)
gherkin (~> 2.10.0)
json (>= 1.4.6)
...
hoptoad_notifier (2.4.11)
activesupport
builder
... no other mentions of builder
gemfile은 어떤 모양입니까? –