Open martindemello opened 2 years ago
I'm honestly curious, in your application what version of Rails you running this generator in?
I ask, because I'm unable to reproduce this and am able to run the generator in Rails 7.0, 6.1, and 6.0 with the command you supplied.
bin/rails g tailwind_views:install --devise -t erb
Ruby3.0.3/Rails 7.0.2 (I also tried 3.0.2 in which appears that you are running) Ruby2.7/Rails 6.1 Ruby2.7/Rails6.0
I'm wondering if this happens to be an issue caused by an older version of thor where aliases has issues, because my output for options appears to be valid.
$ rails --version
Rails 7.0.2.2
$ gem list thor
*** LOCAL GEMS ***
thor (1.2.1)
i'll poke at it if you cannot reproduce.
it seems to be a conflict with tailwindcss-rails
; if i start a new project without that the bug goes away.
looks like the
-t
argument is not getting stored inoptions
- adding ap options
in the install method give me: