Pregunta

My rails version is 3.2.12.

I am trying to implement gem "joyride-rails", "~> 0.0.14" in my application, but it clashes with some of my other gems. Already in my Gemfile:

gem "haml-rails", ">= 0.4"
gem 'activeadmin-mongoid', github: 'elia/activeadmin-mongoid', branch: 'active-admin-spec-suite'

When I run the bundle command, I get this error:

Bundler could not find compatible versions for gem "haml":
  In Gemfile:
    joyride-rails (~> 0.0.14) ruby depends on
      haml (~> 3.1) ruby

    haml-rails (>= 0.4) ruby depends on
      haml (4.0.3)

So, if I add the gem "haml", "~> 4.0.3" the new bundle clash is:

Bundler could not find compatible versions for gem "bourbon":
  In Gemfile:
    joyride-rails (~> 0.0.14) ruby depends on
      bourbon (~> 2.0) ruby

    activeadmin-mongoid (>= 0) ruby depends on
      bourbon (3.1.8)

And if I then add the gem "bourbon", "~> 3.1.8" I get this new clash:

Bundler could not find compatible versions for gem "bourbon":
  In Gemfile:
    joyride-rails (~> 0.0.14) ruby depends on
      bourbon (~> 2.0) ruby

    bourbon (3.1.8)

What to do?

¿Fue útil?

Solución

Github Issue

The gem currently can't be used with the latest version of haml. (c)

I think, u can downgrade your haml version, if possible.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top