SpinaCMS / Spina

Spina CMS
http://www.spinacms.com
Other
2.19k stars 405 forks source link

Rails 5 compatibility / dependencies #249

Closed ColmMcBarron closed 7 years ago

ColmMcBarron commented 7 years ago

When installing this with rails 5, I get the following error:

Bundler could not find compatible versions for gem "activerecord":
  In Gemfile:
    spina (~> 0.11) was resolved to 0.11.0, which depends on
      globalize (~> 5.1.0.beta1) was resolved to 5.1.0.beta1, which depends on
        activerecord (< 5.1, >= 4.2)

    rails (~> 5.1.0) was resolved to 5.1.0, which depends on
      activerecord (= 5.1.0)

Gemfile is fresh from Rails 5.1, with the following added for spina:

gem 'spina', '~> 0.11'

Bramjetten commented 7 years ago

We don't support Rails 5.1 yet because of Globalize. For now, please use 5.0.

I'm not sure if Globalize's master branch is compatible with 5.1 right now, but you could try that. Spina itself should be compatible already.

azeemh commented 7 years ago

has this been updated yet? i would really like to use this for work.

Bramjetten commented 7 years ago

We submitted a PR to globalize. Still waiting for it to be merged. You can use the fork for now.

Bramjetten commented 7 years ago

https://github.com/globalize/globalize/pull/619