class RSpec::Core::RakeTask

def spec_command

def spec_command
  @spec_command ||= begin
                      cmd_parts = %w[-Ilib -Ispec]
                      cmd_parts << "-w" if warning
                      cmd_parts.unshift runner_options
                      cmd_parts.unshift runner
                      cmd_parts.unshift bundler
                      cmd_parts += files_to_run.map { |fn| %["#{fn}"] }
                      cmd_parts << spec_opts.join(" ")
                      cmd_parts.join(" ")
                    end
end