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/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/053a11cb49e65dd263c0f44ee51b4c8c%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to