The Rails db:system:change command Discussion
Discussion for
The Rails db:system:change command
Great to change the database when we create default sqlite.
that maintains the previous gem version ... generates confusion when looking for errors.
This is such a nice little feature where I just want to get running with SQLite and change DBs when applicable
I get this:
Running via Spring preloader in process 48851
invalid option: --to=postgresql
What could be the issue? I am using Rails 6.1.4.1
me, too. I've got same problem.
I think this command(db:system:change) keep finding rake command, not rails.
I am using Rails 6.1.4.4, Rake 13.0.6, Ruby 3.0.3