From ae8a30e819e003060d134753e57b9efcc19031b7 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Tue, 8 Nov 2016 09:58:45 +0800 Subject: [PATCH] Gem special file require Ruby 2.0.0, because there have a prepend method called. --- rucaptcha.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rucaptcha.gemspec b/rucaptcha.gemspec index 75a3801..4e3393f 100644 --- a/rucaptcha.gemspec +++ b/rucaptcha.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |s| s.require_paths = ['lib'] s.summary = 'This is a Captcha gem for Rails Application. It run ImageMagick command to draw Captcha image.' s.license = "MIT" - s.required_ruby_version = ">= 1.9.0" + s.required_ruby_version = ">= 2.0.0" s.add_dependency 'railties', '>= 3.2' end