lando / hyperdrive

Accelerate from zero to a Lando-based dev environment in less then 12 par-steps
https://lando.dev/hyperdrive
GNU General Public License v3.0
47 stars 13 forks source link

Make sure hyperdrive things assert their dominance #7

Closed pirog closed 3 years ago

pirog commented 5 years ago

This could also be a bug. I'm also not completely sure whether this is something we can (or maybe more importantly should) do but its not necessarily guaranteed that a given lando component will be be found first in PATH which is a problem for a few reasons

  1. Seems like Hyperdrive has not actually installed things correctly
  2. Users may be running the wrong version of something without knowing it.

An example of this is CirclCI which requires this sort of thing https://github.com/lando/lando/blob/master/.circleci/config.yml#L30

A potential solution to this is we could create a "lando bin" directory with symlinks to the needed installed things and then modify PATH to use Lando things first. This would give us a pretty easy install/uninstall path and not require a ton of extra management.