Class | Backup::Dependency |
In: |
lib/backup/dependency.rb
|
Parent: | Object |
A little self-contained gem manager for Backup. Rather than specifying hard dependencies in the gemspec, forcing users to install gems they do not want/need, Backup will notify them when a gem has not been installed, or when the gem‘s version is incorrect, and provide the command to install the gem. These dependencies are dynamically loaded in the Gemfile
Attempts to load the specified gem (by name and version). If the gem with the correct version cannot be found, it‘ll display a message to the user with instructions on how to install the required gem