Skip to content

Conversation

dchacke
Copy link

@dchacke dchacke commented Sep 12, 2025

bin/rails solid_queue:install

Unrecognized command "solid_queue:install" (Rails::Command::UnrecognizedCommandError)
Did you mean?  solid_queue:start

As opposed to:

bin/rails g solid_queue:install

        gsub  config/environments/production.rb
      create  config/solid_queue.yml
       rails  railties:install:migrations FROM=solid_queue
Copied migration 20250912213359_create_solid_queue_tables.solid_queue.rb from solid_queue
Copied migration 20250912213360_add_missing_index_to_blocked_executions.solid_queue.rb from solid_queue
Copied migration 20250912213361_create_recurring_executions.solid_queue.rb from solid_queue
Clearing idea diffs…
Idea diffs cleared.

@dchacke
Copy link
Author

dchacke commented Sep 12, 2025

Also, from Readme (formatting removed):

This will configure Solid Queue as the production Active Job backend, create the configuration files config/queue.yml and config/recurring.yml, and create the db/queue_schema.rb. It'll also create a bin/jobs executable wrapper that you can use to start Solid Queue.

It didn’t do any of that…

@dchacke
Copy link
Author

dchacke commented Sep 12, 2025

Here’s what it did do:

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   Gemfile
	modified:   Gemfile.lock
	modified:   config/environments/production.rb

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	config/solid_queue.yml
	db/migrate/20250912213359_create_solid_queue_tables.solid_queue.rb
	db/migrate/20250912213360_add_missing_index_to_blocked_executions.solid_queue.rb
	db/migrate/20250912213361_create_recurring_executions.solid_queue.rb

@dchacke
Copy link
Author

dchacke commented Sep 12, 2025

I’m on Rails 7.1.3 and Ruby 3.3.0.

@rosa
Copy link
Member

rosa commented Sep 13, 2025

Hey @dchacke, the install command is correct, and the reason it didn't do the things in the README is that you weren't using it. I think you're in a very old version of Solid Queue.

@rosa rosa closed this Sep 13, 2025
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

Successfully merging this pull request may close these issues.

2 participants