rails / mission_control-jobs

Dashboard and Active Job extensions to operate and troubleshoot background jobs
MIT License
611 stars 71 forks source link

Doesn't work with Rails 8 #133

Closed misterhtmlcss closed 4 months ago

misterhtmlcss commented 5 months ago

Hi All,

Without a doubt this is one of the very few public issues I've written in years, so forgive me if I'm bungling it. Welcome to any feedback!

So I'm running rails new ..... --main which is effectively Rails 8 alpha and the gem won't work with this version of rails. Totally understandable, but still this may be an unexpected behaviour to the maintainers.

bundle install
Fetching gem metadata from https://rubygems.org/...........
Resolving dependencies...
Could not find compatible versions

Because rails >= 7.1, < 8.A could not be found in https://github.com/rails/rails.git (at main@ff0ef93)
  and every version of mission_control-jobs depends on rails ~> 7.1,
  mission_control-jobs cannot be used.
So, because Gemfile depends on mission_control-jobs >= 0,
  version solving has failed.
HLFH commented 4 months ago

Same issue. :)

rapcal commented 4 months ago

@misterhtmlcss have you tried pointing to the repo from your Gemfile?

gem "mission_control-jobs", git: "https://github.com/rails/mission_control-jobs"

misterhtmlcss commented 4 months ago

I didn’t do that one, but it’s a good idea. What I did was I manually edited the restriction. Seemed low risk as I’m happy to allow it to change next version update.