ruby - Rails hanging when trying to generate controller -


for reason can't seem use rails generate command. been trying generate controller called home , 1 called artists seems keep hanging.

when cancel request, following stack:

^c/users/username/.rvm/gems/ruby-2.3.1/gems/spring-2.0.2/lib/spring/client/run.rb:117:in `gets': interrupt     /users/username/.rvm/gems/ruby-2.3.1/gems/spring-2.0.2/lib/spring/client/run.rb:117:in `verify_server_version'     /users/username/.rvm/gems/ruby-2.3.1/gems/spring-2.0.2/lib/spring/client/run.rb:62:in `run'     /users/username/.rvm/gems/ruby-2.3.1/gems/spring-2.0.2/lib/spring/client/run.rb:42:in `warm_run'     /users/username/.rvm/gems/ruby-2.3.1/gems/spring-2.0.2/lib/spring/client/run.rb:35:in `call'     /users/username/.rvm/gems/ruby-2.3.1/gems/spring-2.0.2/lib/spring/client/command.rb:7:in `call'     /users/username/.rvm/gems/ruby-2.3.1/gems/spring-2.0.2/lib/spring/client/rails.rb:24:in `call'     /users/username/.rvm/gems/ruby-2.3.1/gems/spring-2.0.2/lib/spring/client/command.rb:7:in `call'     /users/username/.rvm/gems/ruby-2.3.1/gems/spring-2.0.2/lib/spring/client.rb:30:in `run'     /users/username/.rvm/gems/ruby-2.3.1/gems/spring-2.0.2/bin/spring:49:in `<top (required)>'     /users/username/.rvm/gems/ruby-2.3.1/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `load'     /users/username/.rvm/gems/ruby-2.3.1/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `<top (required)>'     /users/username/code/spotify-tres/bin/spring:15:in `require'     /users/username/code/spotify-tres/bin/spring:15:in `<top (required)>'     bin/rails:3:in `load'     bin/rails:3:in `<main>' 

no clue what's wrong. ideas?

spring bug. can find more information here https://github.com/rails/spring/issues/265 , ruby on rails console hanging when loading

two main options:

  1. stop (or restart spring) bin/spring stop
  2. try reinstalling in clean rvm environment

Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -