Frage

I am working on a Ruby on Rails project that a former programmer created. It is old code, using Ruby 1.8.7 and Rails 2.3.*. I am not going to upgrade versions because all I need to do is add a few features and I don't want to break anything (and I'm totally new to Ruby on Rails development, I'm just doing it for this one project). I am getting this error:

ActionView::TemplateError (Unable to activate climate_control-0.0.3, because activesupport-2.3.11 conflicts with activesupport (>= 3.0).

What is it that I need to do to fix this? Thanks!

War es hilfreich?

Lösung

According to the climate_control gemspec file, the version you are trying to run requires ActiveSupport 3+, which is Rails 3.

Looking through the commit history, it does appear that this gem was ever released for Rails 2, so I think you're either going to have to upgrade Rails, or remove this gem.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top