Skip to content

Commit

Permalink
Try a simple post_install_message for now
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorturk committed Jun 14, 2021
1 parent 640f54b commit b6eae5f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions geokit.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']

spec.required_ruby_version = '>= 2.5.0'
spec.add_dependency 'rexml'
spec.required_ruby_version = '>= 1.9.3'
spec.add_development_dependency 'bundler', '>= 1.0'
spec.add_development_dependency 'coveralls'
spec.add_development_dependency 'mocha'
Expand All @@ -36,4 +35,9 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'vcr'
# webmock 2 not yet compatible out of the box with VCR
spec.add_development_dependency 'webmock', '< 2' # used in vcr

spec.post_install_message = %q[
Geokit requires rexml, which is a bundled gem starting in Ruby 3.0.
Add `gem "rexml"` to your Gemfile if using Ruby 3.0+ to work around the issue.
]
end

0 comments on commit b6eae5f

Please sign in to comment.