git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.

Previous: brian m. carlson
Message 9 of 9 in “git's directory is _prepended_ to PATH when called with an absolute path”
  1. David RodríguezApr 21, 2015
  2. Junio C HamanoApr 21, 2015
  3. David RodríguezApr 21, 2015
  4. David RodríguezApr 21, 2015
  5. Andreas KreyApr 22, 2015
  6. David RodríguezApr 22, 2015
  7. Andreas KreyApr 22, 2015
  8. brian m. carlsonApr 22, 2015
  9. David RodríguezApr 22, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.