I am looking for suggestions/resources/ways to manage external dependencies of a rails project apart from ruby games (which bundler does just perfect). For example, I want to add checks to see if things like
- Some external binaries (e.g. gdal, python etc etc..)
- Some environment variables are set or not (like aws access keys.. etc.. )
- Is it christmas today!?
And some more.
One things that comes to mind is would be good if these checks can be added to bundler and show error message if some other user defined project dependencies are missing or not. I not looking for version management or anything fancy. Just add some custom code checks to see all dependencies (apart from gems of course) are met.
Or is there a better way people are doing it? using unit tests may be? what if a beginner doesn't know to run unit tests?
Reason I ask this question is, for example me as a somewhat experienced rails developer wants to work with someone just starting out. I want to make project installation and setup easy and make errors verbose if any.
suggestions and links to good resources welcome.
UPDATE
Is there an "elegant" way to add some hooks to bundler? say make it run some unit tests from the tests or something ?
Also I am not necessarily looking for this check to also install those external dependencies. Just check them and if the check fails show a user friendly message and hint at how they can be installed.
simple example code would be awesome..