rubygems_generators/install_rspec/templates/tasks/rspec.rake in newgem-1.3.0 vs rubygems_generators/install_rspec/templates/tasks/rspec.rake in newgem-1.4.0
- old
+ new
@@ -1,8 +1,8 @@
begin
require 'spec'
rescue LoadError
- require 'rubygems'
+ require 'rubygems' unless ENV['NO_RUBYGEMS']
require 'spec'
end
begin
require 'spec/rake/spectask'
rescue LoadError