Skip to content

Commit

Permalink
Add post_install_message to install sysrandom gem (rafaelsales#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
pocke authored Feb 3, 2020
1 parent d8d98c7 commit e30307a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ulid.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']

spec.add_dependency 'sysrandom', '>= 1.0.0', '< 2.0' if RUBY_VERSION < '2.5'
spec.post_install_message = %q[
ulid gem needs to install sysrandom gem if you use Ruby 2.4 or older.
Execute `gem install sysrandom` or add `gem "sysrandom"` to Gemfile.
]
end

0 comments on commit e30307a

Please sign in to comment.