summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-08-22 04:31:11 +0000
committerEric Wong <e@80x24.org>2015-08-22 04:39:51 +0000
commit422a657a5f6dfb69f44feabd6429f2904ca03fa8 (patch)
tree7ee1b987bf391426a521b559175e5f0bd17de597
parent535a627cbc0f10b549bc536c52323bc00af5944f (diff)
It does not look like we'll be compatible with Ruby 3.0 with
the plan for immutable string literals.

However, keep in mind 3.0 is still many years away and
decisions can change, so it would be premature to stop
assuming frozen string literals this year.

ref: https://bugs.ruby-lang.org/issues/11473
-rw-r--r--unicorn.gemspec1
1 files changed, 1 insertions, 0 deletions
diff --git a/unicorn.gemspec b/unicorn.gemspec
index 47d5670..23450f5 100644
--- a/unicorn.gemspec
+++ b/unicorn.gemspec
@@ -25,6 +25,7 @@ Gem::Specification.new do |s|
   s.files = manifest
   s.homepage = Olddoc.config['rdoc_url']
   s.test_files = test_files
+  s.required_ruby_version = [ '>= 1.9.3', '< 3.0' ]
 
   # for people that are absolutely stuck on Rails 2.3.2 and can't
   # up/downgrade to any other version, the Rack dependency may be