I use the ci_reporter gem for builds on my CI machine (hudson).
Prior to rspec 2.4, environment options would override commandline
options. So the gem used this to change the formatter and require its
In 2.4, that order has been reversed.
the thing is 2.4 supports multiple formatters, so there is another
@options = begin
options_to_merge = 
options_to_merge << custom_options
options_to_merge << global_options
options_to_merge << local_options
options_to_merge << env_options
options_to_merge << command_line_options
options_to_merge.inject do |merged, options| merged.merge(options) end end end
the last section, instead of merging hashes, could combine the values
of all hashes with the keys “–require” or “–format”. So you get the
default formatter and the extra formatter that ci_reporter introduces.