Last Updated: February 25, 2016
·
601
· yannick

Check software dependencies for your ruby project

https://github.com/ys/chekku

From a file like bundler:

check 'mysql', must_run: true
check 'redis'
check 'postgres', "~> 9.2", must_run: true
check 'imagemagick', "<= 4"

Directly from your ruby code

require 'chekku/definition'
definition = Chekku::Definition.new(name: 'mysql', executable: 'mysqld')
# return true or false
definition.chekku('>= 5.0')
#return true or raise an error
definition.chekku!('> 5.0')