data/ore/templates/rspec/_tasks.erb in ore-0.1.4 vs data/ore/templates/rspec/_tasks.erb in ore-0.2.0
- old
+ new
@@ -1,10 +1,12 @@
<%- if bundler? -%>
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new
<%- else -%>
begin
+ gem 'rspec', '<%= @rspec_dependency %>'
require 'rspec/core/rake_task'
+
RSpec::Core::RakeTask.new
rescue LoadError => e
task :spec do
abort "Please run `gem install rspec` to install RSpec."
end