devise icon indicating copy to clipboard operation
devise copied to clipboard

Rails 6: rails generate devise:install hangs(master)

Open sanford opened this issue 7 years ago • 3 comments

Environment

  • Ruby 2.6.3
  • Rails 6.0 (release)
  • Devise: master branch

Current behavior

rails g devise:install hangs

If you add the '--skip-spring' flag to 'rails new' it appears you can get the devise generator to run after

Expected behavior

Generators are run

sanford avatar Aug 18 '19 07:08 sanford

I believe that's not something specific to Rails 6, in the past I had students hanged on that very command for Rails 4 and Rails 5. The trick I told them was to:

spring stop

And then relaunch the command.

ssaunier avatar Aug 19 '19 06:08 ssaunier

Yeah, this really looks like a Spring issue. I just run the generator with a newly created Rails 6 app and everything worked correctly.

tegon avatar Aug 19 '19 17:08 tegon

spring stop

Works like a charm!

CornerstoneII avatar Jan 24 '21 18:01 CornerstoneII