notahat / machinist

Fixtures aren't fun. Machinist is.
MIT License
1.12k stars 134 forks source link

Error messages for generator #111

Open danfunk opened 12 years ago

danfunk commented 12 years ago

Was just adding machinist into an older application - and got this error:

/home/dan/.rvm/gems/ruby-1.9.3-p0@clause/gems/machinist-2.0/lib/generators/machinist/install/install_generator.rb:34:in rspec?': undefined methodto_sym' for nil:NilClass (NoMethodError)

of course, it's just a matter of adding a "-t rspec" for the generator, but after having looked into it, I figured I'd add some error messages to make this easier for the next guy.

codeincontext commented 12 years ago

+1. Bit of a barrier when the only command in the setup documentation doesn't work out of the box.