Skip to content

Fix incorrect command in README #60

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

Closed
wants to merge 1 commit into from
Closed

Conversation

mgmarlow
Copy link

@mgmarlow mgmarlow commented May 1, 2025

Point users to the generator command, since bin/rails solid_cable:install results in the following error:

rails aborted!
Don't know how to build task 'solid_cable:install' (See the list of available tasks with `rails --tasks`)

Users should instead be instructed to use the generator:

bin/rails g solid_cable:install

Point users to the generator command, since `bin/rails solid_cable:install` results in the following error:

```
rails aborted!
Don't know how to build task 'solid_cable:install' (See the list of available tasks with `rails --tasks`)
```
@mgmarlow mgmarlow changed the title Update README.md Fix incorrect command in README May 1, 2025
@npezza93
Copy link
Collaborator

npezza93 commented May 1, 2025

That command does exist. It's defined in https://github.com/rails/solid_cable/blob/main/lib/tasks/solid_cable_tasks.rake.
What version are you running?

@npezza93 npezza93 closed this May 1, 2025
@mgmarlow
Copy link
Author

mgmarlow commented May 1, 2025

Ah shoot, my mistake. I was on 1.0.3 because I'm using Rails 7.0. Looks like the gemspec set a minimum version to >= 7.2 for releases after 1.0.3.

@mgmarlow mgmarlow deleted the patch-1 branch May 1, 2025 18:35
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