the generation of migration in the rails hangs, and after that it gives the following error:

'Starting Spring server with `/home/chelosobaka/.rvm/gems/ruby-2.3.2/gems/spring-2.0.2/bin/spring server --background` timed out after 20 seconds.' 

Os ubuntu, help me solve the problem, I shovel the Internet, I really did not find anything.

  • Try bundle exec rake db:migrate - Vetal4eg
  • one
    this did not help either, and in the future the spring began to curse on other console commands, such as rails c, s ... I solved the problem by completely reinstalling rails and ruby. put everything on the newest version. Here is a link to install, who is just starting to engage in Ruby railsapps.imtqy.com/installrubyonrails-ubuntu.html - chelosobaka

0