[rspec-users] App can't start on production server due to RSpec missing

David Chelimsky dchelimsky at gmail.com
Fri Jan 16 18:19:25 EST 2009


On Fri, Jan 16, 2009 at 5:06 PM, Mark Wilden <mark at mwilden.com> wrote:
> On Fri, Jan 16, 2009 at 1:15 PM, Fernando Perez <lists at 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 at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list