Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

560
Views
Error using devise_token_auth gem Rails 7

So I'm trying to generate a token for my Rails 7 app with devise_token_auth and I found this gem but I get this error and I understand that the gem is no longer updated:

Fetchings gem metadata from https://rubygems.org/...........
Resolving dependencies....
Bundler could not finde compatible versions from gem "rails":
    In Gemfile:
        rails (~> 7.0.1)

    devise_token_auth was resolved to 0.1.21.alpha2, which depends on
        rails (~> 4.1.4)

So what can I do about it? Are there more gems like devise_token_auth? I can fix it without chainging my Rails version?

Thanks!

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

The latest version of devise_token_auth on rubygems (1.2.0) doesn't support rails 7, but the latest code on GitHub does support rails 7.

Try adding the gem like this

gem 'devise_token_auth', '>= 1.2.0', git: "https://github.com/lynndylanhurley/devise_token_auth"
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!