refinery / refinerycms-authentication-devise

Devise based authentication extension for Refinery CMS
MIT License
17 stars 61 forks source link

Dependency issue using authentication-devise gem with edge version of RefineryCMS #33

Closed frankyn closed 7 years ago

frankyn commented 7 years ago

Hi!

While using the Edge version of RefineryCMS with Rails 4.2.8 to generate a new RefineryCMS project I hit the dependency conflict shown below. I was able to resolve the issue by using the master branch of this repository.

(if reasonable) As a request, it would be helpful if refinerycms-authentication-devise gem was released with the dependency version range which would accept refinerycms-core 4.0.0.dev.

Bundler could not find compatible versions for gem "refinerycms-core":
  In Gemfile:
    refinerycms was resolved to 4.0.0.dev, which depends on
      refinerycms-core (= 4.0.0.dev)

    refinerycms was resolved to 4.0.0.dev, which depends on
      refinerycms-core (= 4.0.0.dev)

    refinerycms was resolved to 4.0.0.dev, which depends on
      refinerycms-core (= 4.0.0.dev)

    refinerycms was resolved to 4.0.0.dev, which depends on
      refinerycms-core (= 4.0.0.dev)

    refinerycms-authentication-devise (~> 1.0.4) was resolved to 1.0.4, which depends on
      refinerycms-core (>= 3.0.0, ~> 3.0)

    refinerycms-wymeditor (>= 1.0.6, ~> 1.0) was resolved to 1.1.0, which depends on
      refinerycms-core (< 5.0, >= 3.0.0)
bricesanchez commented 7 years ago

Edge version of Refinery should be used with Rails 5.1 but it's not yet merged.

You should use 3-0-stable branch for a Rails 4.2.x project :)

frankyn commented 7 years ago

Follow-up:

The reason I used the master branch of refinerycms is to use version 1.1.0 of the Dragonfly gem without modifying the gem source. I reviewed branch 3-0-stable and it does use version 1.1.0, but the latest tagged version 3.0.5 for RefineryCMS doesn't have this update.

Question, will a new patch be released with this update soon?

Thanks @bricesanchez!

bricesanchez commented 7 years ago

Yes we will release 3.0.6 ASAP. So for now you could use Refinery like this in your Gemfile:

gem 'refinerycms', git: 'https://github.com/refinery/refinerycms', branch: '3-0-stable'
frankyn commented 7 years ago

SG, Thanks!