[rspec-users] generated gem config?

David Chelimsky dchelimsky at gmail.com
Sun Dec 27 11:12:08 EST 2009

Hey all,

The cucumber-rails generator generates config/environments/cucumber.rb for
us, which means we don't need to do any gem configuration. As things stand
now, rspec-rails does not do the same thing for us. I'm thinking of having
the generator update config/environments/test.rb, adding gem configuration
to the bottom of the file if it doesn't already have the configuration.

This would mean that all we need do is type "script/generate rspec" and,
assuming rspec-rails is installed on the system, the gem configuration will
be set up (whereas now you have to manually add the gem configuration


1 - good idea?
2 - what are the drawbacks?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20091227/81435a19/attachment.html>

More information about the rspec-users mailing list