Closed x-ror closed 7 years ago
Hi @X-tymchenko,
We are currently working on the Rails 5.1 support: https://github.com/refinery/refinerycms/pull/3122
If you want to use refinerycms-authentication-devise
for Rails 5.1, you should temporarily add this to your Gemfile
:
gem 'refinerycms-authentication-devise', git: 'https://github.com/sjoulbak/refinerycms-authentication-devise', branch: 'feature/rails-5'
Let us know if everything is correct.
Thanks!
@bricesanchez it doesn`t help, and i have other problem
Bundler could not find compatible versions for gem "actionmailer":
In snapshot (Gemfile.lock):
actionmailer (= 5.1.0)
In Gemfile:
rails (= 5.1.0) was resolved to 5.1.0, which depends on
actionmailer (= 5.1.0)
refinerycms-authentication-devise was resolved to 1.0.4, which depends on
actionmailer (< 5.1, >= 5.0.0)
usage gems:
gem 'rails', '~> 5.1.0'
gem 'refinerycms', github: 'refinery/refinerycms', branch: 'feature/rails-5'
gem 'refinerycms-i18n', github: 'refinery/refinerycms-i18n'
gem 'globalize', github: 'globalize/globalize', branch: 'master'
gem 'will_paginate', github: 'nmeylan/will_paginate', branch: 'master'
gem 'refinerycms-authentication-devise', git: 'https://github.com/sjoulbak/refinerycms-authentication-devise', branch: 'feature/rails-5'`
Yes it's because authentication needs to support Rails 5.1 : https://github.com/refinery/refinerycms-authentication-devise/pull/31/files#diff-517f3e833a6c8777414fd2f4b096e6ceR17
Now it support Rails 5.1 on this PR #31
Hello,
I still get this compatibility issue
gem 'refinerycms-authentication-devise', '~> 1.0.4'
Bundler could not find compatible versions for gem "actionmailer":
In Gemfile:
rails (~> 5.1.3) x64-mingw32 was resolved to 5.1.3, which depends on
actionmailer (= 5.1.3) x64-mingw32
refinerycms-authentication-devise (~> 1.0.4) x64-mingw32 was resolved to
1.0.4, which depends on
actionmailer (>= 4.2.0, ~> 4.2) x64-mingw32
What do I need to change?
@haythamlabrini You need to add this in your Gemfile:
gem 'refinerycms-authentication-devise', git: 'https://github.com/refinery/refinerycms-authentication-devise', branch: 'feature/rails-5'
Until we release the version 2.0.0
of this gem.
After
bundle install
with refinerycms-authentication-devise v1.0.4 I have this errors:Running
bundle update
will rebuild your snapshot from scratch, using only the gems in your Gemfile, which may resolve the conflict.