3

Running bundle update on my padrino app gives me:

Bundler could not find compatible versions for gem "tilt":
  In Gemfile:
    padrino (= 0.11.1) ruby depends on
      tilt (~> 1.3.0) ruby

    padrino (= 0.11.1) ruby depends on
      tilt (1.4.0)

This just started happening: not sure what's changed.
Running Ruby 1.9.3-p392

Gemfile looks like:

source 'https://rubygems.org'
ruby '1.9.3'

gem 'unicorn'
gem 'rake'

gem 'bcrypt-ruby', :require => 'bcrypt'
gem 'slim'
gem 'mongoid', '~>3.0.0'

gem 'haml'

gem 'padrino', '0.11.1'
4

2 回答 2

8

添加gem 'tilt', '1.3.7'到您的Gemfile.

于 2013-05-04T13:21:05.700 回答
4

这是 Bundler 解析器中的一个错误。我在这里打开了一个问题:https ://github.com/carlhuda/bundler/issues/2464

现在你可以通过强制 Tilt 到 1.3 分支来修复它:

# Force Tilt 1.3 to avoid resolver bug: https://github.com/carlhuda/bundler/issues/2464
gem 'tilt', '~> 1.3.0'
于 2013-05-06T13:19:45.603 回答