Tilt (Bundler dependency error)

I need to upgrade my applications to Rails 3.2.16, when I did bundle update rails, it gave me the following error.

Bundler could not find compatible versions for gem "tilt":
  In Gemfile:
    sass-rails (= 3.2.6) ruby depends on
      tilt (~> 1.3) ruby

    slim (>= 0) ruby depends on
      tilt (2.0.0)

My gemfile:

gem 'sass-rails',   '~> 3.2.6'
gem 'slim'

I do not know how to fix this. Help me please.

Thanks,

+4
source share
2 answers

Try explicitly adding 'tilt' to your Gemfile.

+6
source

I quickly tried installing only these two gems and got the following dependency tree in my Gemfile.lock.

sass-rails (3.2.6)
  railties (~> 3.2.0)
  sass (>= 3.1.10)
  tilt (~> 1.3)
slim (2.0.2)
  temple (~> 0.6.6)
  tilt (>= 1.3.3, < 2.1)

, , slim-2.0.2, 1.3.3 , , sass-rails

+1

All Articles