```ruby
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec => [:clean, :compile]) do |spec|
  spec.pattern      = './spec/**/*_spec.rb'
  spec.skip_bundler = true
end

RSpec::Core::RakeTask.new(:rcov => [:clean, :compile]) do |rcov|
  rcov.pattern    = "./spec/**/*_spec.rb"
  rcov.rcov       = true
  rcov.rcov_opts  = File.read('spec/rcov.opts').split(/\s+/)
end
```

Fix regression from prev. commit
user
```ruby
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern      = './spec/**/*_spec.rb'
  spec.skip_bundler = true
end

RSpec::Core::RakeTask.new(:rcov) do |rcov|
  rcov.pattern    = "./spec/**/*_spec.rb"
  rcov.rcov       = true
  rcov.rcov_opts  = File.read('spec/rcov.opts').split(/\s+/)
end
```
assistant