Rails 4.1.1, Ruby 2.1.1, OSX 10.6
This works:
rails generate model Word repr:string level:integer atari:integer
triple:references
This does not:
rails generate model -p Word repr:string level:integer atari:integer
triple:references
It raises the error message:
.../ruby-2.1.1/gems/spring-1.1.3/lib/spring/client/run.rb:73:in
`connect_to_application': Error connecting to Spring server
(RuntimeError)
from
/Users/fusshuhn/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/client/run.rb:30:in
`call'
From my understanding (as of 'rails generate model -h'), the purpose of
-p is to just show which changes would be done, without actually
changing anything (i.e. doing a dry run), so I'm surprised to get this
error. What does the error mean, and why do I get it?
--
Posted via
http://www.ruby-forum.com/.