出于某种原因,我似乎无法使用home
命令。一直试图生成一个名为artists
的控制器和另一个名为^C/Users/username/.rvm/gems/ruby-2.3.1/gems/spring-2.0.2/lib/spring/client/run.rb:117:in `gets': Interrupt
from /Users/username/.rvm/gems/ruby-2.3.1/gems/spring-2.0.2/lib/spring/client/run.rb:117:in `verify_server_version'
from /Users/username/.rvm/gems/ruby-2.3.1/gems/spring-2.0.2/lib/spring/client/run.rb:62:in `run'
from /Users/username/.rvm/gems/ruby-2.3.1/gems/spring-2.0.2/lib/spring/client/run.rb:42:in `warm_run'
from /Users/username/.rvm/gems/ruby-2.3.1/gems/spring-2.0.2/lib/spring/client/run.rb:35:in `call'
from /Users/username/.rvm/gems/ruby-2.3.1/gems/spring-2.0.2/lib/spring/client/command.rb:7:in `call'
from /Users/username/.rvm/gems/ruby-2.3.1/gems/spring-2.0.2/lib/spring/client/rails.rb:24:in `call'
from /Users/username/.rvm/gems/ruby-2.3.1/gems/spring-2.0.2/lib/spring/client/command.rb:7:in `call'
from /Users/username/.rvm/gems/ruby-2.3.1/gems/spring-2.0.2/lib/spring/client.rb:30:in `run'
from /Users/username/.rvm/gems/ruby-2.3.1/gems/spring-2.0.2/bin/spring:49:in `<top (required)>'
from /Users/username/.rvm/gems/ruby-2.3.1/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `load'
from /Users/username/.rvm/gems/ruby-2.3.1/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `<top (required)>'
from /Users/username/Code/spotify-tres/bin/spring:15:in `require'
from /Users/username/Code/spotify-tres/bin/spring:15:in `<top (required)>'
from bin/rails:3:in `load'
from bin/rails:3:in `<main>'
的控制器,但它似乎一直悬挂着。
当我取消请求时,我得到以下堆栈:
$("#showNames").text("{{ $t('hide_labels') }}");
不知道什么是错的。有什么想法吗?
答案 0 :(得分:1)
春天的bug。您可以在https://github.com/rails/spring/issues/265和ruby on rails console hanging when loading
中找到更多信息两个主要选项:
bin/spring stop