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:
- stop (or restart spring)
bin/spring stop
- try reinstalling in clean rvm environment
Comments
Post a Comment