Mark Eschbach

Software Developer && System Analyst

Bundler

Project based dependency maangement system for Ruby projects.

Notes

  • Platform specific exclusions (useful for say excluding gems like rmagick on everything but linux): Conditionally Bundling Gems Based on Platform. Effective this comes down to the variable RUBY_PLATFORM which can be viewed by the command line bundle platform.
  • You can configure the way bundler installs specific gem, using the bundle config command. For example, to configure pg with the program /Library/PostgreSQL/9.6/bin/pg_config issue the following command: bundle config build.pg --with-pg=/Library/PostgreSQL/9.6/bin/pg_config.

    Xref