dimanche 1 mars 2015

Terminal “rails generate controller pages home” not working

So, I type the following command to generate a page :


rails generate controller Pages home


Following this terminal stopped responding and it took a whole lot of my time. I had to use C^ to exit. When I do this the following text is displayed:



/Library/Ruby/Gems/2.0.0/gems/spring-1.3.3/lib/spring/client/run.rb:78:in `sleep': Interrupt
from /Library/Ruby/Gems/2.0.0/gems/spring-1.3.3/lib/spring/client/run.rb:78:in `boot_server'
from /Library/Ruby/Gems/2.0.0/gems/spring-1.3.3/lib/spring/client/run.rb:51:in `cold_run'
from /Library/Ruby/Gems/2.0.0/gems/spring-1.3.3/lib/spring/client/run.rb:28:in `call'
from /Library/Ruby/Gems/2.0.0/gems/spring-1.3.3/lib/spring/client/command.rb:7:in `call'
from /Library/Ruby/Gems/2.0.0/gems/spring-1.3.3/lib/spring/client/rails.rb:23:in `call'
from /Library/Ruby/Gems/2.0.0/gems/spring-1.3.3/lib/spring/client/command.rb:7:in `call'
from /Library/Ruby/Gems/2.0.0/gems/spring-1.3.3/lib/spring/client.rb:26:in `run'
from /Library/Ruby/Gems/2.0.0/gems/spring-1.3.3/bin/spring:48:in `<top (required)>'
from /Library/Ruby/Gems/2.0.0/gems/spring-1.3.3/lib/spring/binstub.rb:11:in `load'
from /Library/Ruby/Gems/2.0.0/gems/spring-1.3.3/lib/spring/binstub.rb:11:in `<top (required)>'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /Users/prafulk/code/omrails/bin/spring:13:in `<top (required)>'
from bin/rails:3:in `load'
from bin/rails:3:in `<main>


I don't have a clue what's going on. Here's what i'm running in my app:


ruby 2.2.0p0 rails 4.2.0


Any help would be appreciated.!


Aucun commentaire:

Enregistrer un commentaire