How do you specify in a gem’s gemspec that the gem assumes that “fmt” or “tidy” is installed on the system? These are unix tools and not Ruby gems.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is another place where rubygems just lacks…
A few workarounds:
put a message about it in the post_install message
check for it at runtime
check for it at install time by using a fake mkrf_conf.rb http://en.wikibooks.org/wiki/Ruby_Programming/RubyGems#How_to_install_different_versions_of_gems_depending_on_which_version_of_ruby_the_installee_is_using