Administrate: Not able to install with rails 6.0.0

Created on 18 Aug 2019  路  8Comments  路  Source: thoughtbot/administrate

Trying to install administrate 0.11.0 with rails 6.0.0.
Actionpack compatibility fails.

Error:

```Bundler could not find compatible versions for gem "actionpack":
In snapshot (Gemfile.lock):
actionpack (= 6.0.0)

In Gemfile:
administrate (~> 0.11.0) was resolved to 0.11.0, which depends on
actionpack (>= 4.2, < 6.0)

rails (~> 6.0.0) was resolved to 6.0.0, which depends on
  actionpack (= 6.0.0)

administrate (~> 0.11.0) was resolved to 0.11.0, which depends on
  sass-rails (~> 5.0) was resolved to 5.1.0, which depends on
    sprockets-rails (>= 2.0, < 4.0) was resolved to 3.2.1, which depends on
      actionpack (>= 4.0)

Most helpful comment

Thanks for reporting this!

We need to put out a release soon, and do some basic regression testing against Rails 6. I hope to do this this week (w/b: 2019-08-19).

All 8 comments

temp solution for this issue is to use master branch for this gem:
gem "administrate", git: "https://github.com/thoughtbot/administrate.git"

Thanks for reporting this!

We need to put out a release soon, and do some basic regression testing against Rails 6. I hope to do this this week (w/b: 2019-08-19).

Bundler could not find compatible versions for gem "actionpack":
In Gemfile:
administrate was resolved to 0.6.0, which depends on
actionpack (>= 4.2, < 5.1)

rails (~> 6.0.0) was resolved to 6.0.0, which depends on
  actionpack (= 6.0.0)

Bundler could not find compatible versions for gem "rails":
In Gemfile:
rails (~> 6.0.0)

administrate was resolved to 0.2.2, which depends on
  rails (~> 4.2)

Bundler could not find compatible versions for gem "actionpack":
In Gemfile:
administrate was resolved to 0.6.0, which depends on
actionpack (>= 4.2, < 5.1)

rails (~> 6.0.0) was resolved to 6.0.0, which depends on
  actionpack (= 6.0.0)

Bundler could not find compatible versions for gem "rails":
In Gemfile:
rails (~> 6.0.0)

administrate was resolved to 0.2.2, which depends on
  rails (~> 4.2)

Check out @rwojnarowski 's comment. That works as a temporary solution till there's a new release that supports rails 6.0.

Thanks for reporting this!

We need to put out a release soon, and do some basic regression testing against Rails 6. I hope to do this this week (w/b: 2019-08-19).

@nickcharlton Any updates on this?

There's some problems with model loading (see: #1406) which is holding us back, this took up enough time that I didn't get much further in being ready for a release. It'll be during this week, though.

Are we waiting on a dependency to push out a release?

Yes, and that dependency was me. 馃憖

There was a bit more work I ended up doing, but 0.12.0 is out now.

Was this page helpful?
0 / 5 - 0 ratings