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

The generator command is not working as expected #9

Open
mathieubrunpicard opened this issue Jan 25, 2025 · 2 comments
Open

The generator command is not working as expected #9

mathieubrunpicard opened this issue Jan 25, 2025 · 2 comments

Comments

@mathieubrunpicard
Copy link

Hi,

Rails 8.0.1, added the gem to the gemfile and bundled.

Just ran the command (as specificed in the doc) but go this answer.

Could not find generator 'agent'. (Rails::Command::CorrectableNameError)
Run `bin/rails generate --help` for more options.````

Any idea on how to get it going ? (bin/rails agent and rails agent output the same result)
@mohitharshan123
Copy link

mohitharshan123 commented Feb 1, 2025

Worked after:

bin/spring stop

Example command:

rails generate active_agent:agent inventory search

Then restart spring

@TonsOfFun
Copy link
Contributor

Yeah thank you for reporting this issue. The README, docs and generate need to be updated in general. Coming in a PR soon.

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

3 participants