Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compat problem with rails 4.2.11 & devise 4.6.2 #802

Closed
joshco opened this issue Aug 4, 2019 · 1 comment
Closed

Compat problem with rails 4.2.11 & devise 4.6.2 #802

joshco opened this issue Aug 4, 2019 · 1 comment

Comments

@joshco
Copy link

joshco commented Aug 4, 2019

I'm trying to use the 2.x version of invitable. The readme says it should work including devise 4.6.
I'm getting this error about a conflict with actionmailer, where invitable depends on actionmailer 5.x.. bundle update fails worse.

Is the 2.x version not compatible with Rails 4.x?

Bundler could not find compatible versions for gem "actionmailer":
  In snapshot (Gemfile.lock):
    actionmailer (= 4.2.11.1)

  In Gemfile:
    devise_invitable (~> 2.0.0) was resolved to 2.0.1, which depends on
      actionmailer (>= 5.0)

    rails (= 4.2.11.1) was resolved to 4.2.11.1, which depends on
      actionmailer (= 4.2.11.1)

Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
ubuntu@wsl:~/unx/talker$ bundle list devise
/home/ubuntu/.rvm/gems/ruby-2.5.1/gems/devise-4.6.2
@scambra
Copy link
Owner

scambra commented Aug 7, 2019

Devise Invitable 2.x is not compatible with rails 4.2, support was dropped in this PR:
#785

@scambra scambra closed this as completed Aug 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants