How do you run script/generate?
In Project View Tree (tool window #1) :
Context menu -> New -> Controller / Model / Migration, etc.
or
select any node press AltInsert(Windows/Linux) or ^N(MacOS) choose Controller/Model/Migration
If Rails Generators aren't available in context menu - execute actions
Tools | Ruby on Rails | Reload Generators
Tools | Ruby on Rails | Reload Rake Tasks
Please sign in to leave a comment.
In Project View Tree (tool window #1) :
Context menu -> New -> Controller / Model / Migration, etc.
or
select any node press AltInsert(Windows/Linux) or ^N(MacOS) choose Controller/Model/Migration
If Rails Generators aren't available in context menu - execute actions
Tools | Ruby on Rails | Reload Generators
Tools | Ruby on Rails | Reload Rake Tasks