Re: git's directory is _prepended_ to PATH when called with an absolute path
- From
David Rodríguez <deivid.rodriguez@gmail.com>
- Date
- Apr 22, 2015, 17:47 UTC
- Message-ID
- <5537DEC7.2020303@gmail.com>
- In-Reply-To
- <20150422170205.GA827497@vauxhall.crustytoothpaste.net>
On 22/04/15 14:02, brian m. carlson wrote:
> "I want whatever ruby the > user chooses."
This is exactly what I want. The problem is that git overrides the user's choice by prepending /usr/bin to the path and thus making /usr/bin/env choose system's ruby version. Which is almost always not the Ruby the user chose.