ronin.gemspec in ronin-1.0.0.pre4 vs ronin.gemspec in ronin-1.0.0.rc1
- old
+ new
@@ -3,8 +3,13 @@
begin
Ore::Specification.new do |gemspec|
# custom logic here
end
rescue NameError
- STDERR.puts "The 'ronin.gemspec' file requires Ore."
- STDERR.puts "Run `gem install ore` to install Ore."
+ begin
+ require 'ore/specification'
+ retry
+ rescue LoadError
+ STDERR.puts "The 'ronin.gemspec' file requires Ore."
+ STDERR.puts "Run `gem install ore` to install Ore."
+ end
end