No commit activity in last 3 years
No release in over 3 years
Ruby gem for defining which binaries/commands must be available on the PATH in order for your Rails application to function properly.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.10
~> 10.0
 Project Readme

path-dependencies Gem version

Ruby gem for defining which binaries/commands must be available on the PATH in order for your Rails application to function properly.

Installation

Add this line to your application's Gemfile:

gem 'path-dependencies'

And then execute:

$ bundle install

Usage

Define a path_dependencies array in config/application.rb like so:

class Application < Rails::Application
  config.path_dependencies = [
    "dos2unix",
    "free",
    "ngrok",
    "node",
    "sox",
    "wget",
    "youtube-dl"
  ]
end

When your Rails application starts, an error will be raised immediately if any binaries/commands are not available on the PATH. A nice precautionary measure!

Related

If you find this gem useful, you may also like env-dependencies.