On Fri, Jan 16, 2009 at 5:06 PM, Mark Wilden <m...@mwilden.com> wrote: > On Fri, Jan 16, 2009 at 1:15 PM, Fernando Perez <li...@ruby-forum.com> > wrote: >> >> I run rspec on my dev machine, but obviously not on my production >> machine, what would be the nicest way to handle such scenario? At the >> top of rspec.rake I could add a check on the environment > > That would get my vote.
Unless I"m missing something, that would require this on the CLI: RAILS_ENV=test rake spec Therefore, this would not get my vote :) > > ///ark > > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users