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