Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0312637

Browse files
committedDec 25, 2019
Add post_install_message
1 parent dbcf227 commit 0312637

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
 

‎readline.gemspec‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ Gem::Specification.new do |spec|
1717
spec.files = Dir['BSDL', 'COPYING', 'README.md', 'lib/readline.rb']
1818
spec.require_paths = ['lib']
1919

20+
spec.post_install_message = <<~EOM
21+
This is just loader for "readline". If Ruby has "readline-ext" gem that
22+
is a native extension, this gem will load its first. If Ruby doesn't have
23+
the "readline-ext" gem this gem will load "reline" that is a compatible
24+
library with "readline-ext" gem and is implemented by pure Ruby.
25+
26+
If you intend to use GNU Readline by `require 'readline'`, please install
27+
"readline-ext" gem.
28+
EOM
29+
2030
spec.add_runtime_dependency 'reline'
2131
spec.add_development_dependency 'bundler'
2232
spec.add_development_dependency 'rake'

0 commit comments

Comments
 (0)
Please sign in to comment.