| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:to:from:subject:date:message-id:reply-to; q= | |
| dns; s=default; b=vXaodVTkvVRIADfKSl7+i2BfnhptA+ScMjp9KXJpjXn1mt | |
| DZrlBGZi2d5MpLBmYHNlZIEIUv5zXXrKBykdrtw21ccET+n1O7Uo6aSVFzZnkqFd | |
| 2nPC12xnQtOlRBh2j7jDC0d4REehNYFk/IO32FhIIYn9mL6nAnDjyURwtQVJA= | |
| DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:to:from:subject:date:message-id:reply-to; s= | |
| default; bh=CpEbK4Nng7fZQ+yF1ncZcNlK1EE=; b=nYXIFCAvuQUIs/mfLBte | |
| bsjzKHKI3dMzrSu3iN23lKygiYKGRlGncSo3cdz/lPOfowKRO0lye6TZuvx7AFNp | |
| wlrVHpgF2z8V1Pb14YpUYzfSnzBSPiHLW/GTmWRyrbAyZJcdyHqwsLsmsFYwLrvy | |
| X+0KMOFJh4UsSZV106UpLRU= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Authentication-Results: | sourceware.org; auth=none |
| X-Virus-Found: | No |
| X-Spam-SWARE-Status: | No, score=1.5 required=5.0 tests=BAYES_05,DATE_IN_PAST_12_24,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=gem, bluetooth, Bluetooth, Oracle |
| X-HELO: | blaine.gmane.org |
| To: | cygwin AT cygwin DOT com |
| From: | Will Parsons <wbp AT nodomain DOT invalid> |
| Subject: | Anomaly with ruby gem env under Cygwin |
| Date: | Sat, 6 May 2017 22:06:49 +0000 (UTC) |
| Lines: | 64 |
| Message-ID: | <oelhdp$vpd$1@blaine.gmane.org> |
| Reply-To: | wbparsons AT cshore DOT com |
| User-Agent: | slrn/1.0.3 (CYGWIN_NT-6.1) |
| X-IsSubscribed: | yes |
I use Ruby both under Cygwin and MSYS, and have noticed an anomaly under
Cygwin:
Under Cygwin, the "gem env" command gives a somewhat broken report:
% gem env
...
- SHELL PATH:
- /usr/local/bin
- /usr/bin
- /bin
- /usr/sbin
- /c/Windows/system32
- /c/Windows
- /c/Windows/system32/wbem
- /c/ProgramData/Oracle/Java/javapath
- /c/Program
- Files/Common
- Files/Microsoft
- Shared/Windows
- Live
- /c/Program
- Files
- (x86)/Common
- Files/Microsoft
- Shared/Windows
- Live
- /c/Program
- Files/Dell/DW
- WLAN
- Card
...
Notice that paths with spaces get broken at the spaces.
Under MSYS, the problem does not happen - cf.:
$ gem env
...
- SHELL PATH:
- c:\Ruby23\bin\
- .
- C:\MinGW\msys\1.0\local\bin
- C:\MinGW\bin
- C:\MinGW\msys\1.0\bin
- c:\Windows\system32
- c:\Windows
- c:\Windows\system32\wbem
- c:\ProgramData\Oracle\Java\javapath
- c:\Program Files\Common Files\Microsoft Shared\Windows Live
- c:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live
- c:\Program Files\Dell\DW WLAN Card
- c:\Program Files (x86)\Intel\iCLS Client
- c:\Program Files\Intel\iCLS Client
- c:\Windows\System32\WindowsPowerShell\v1.0
- c:\Program Files\WIDCOMM\Bluetooth Software
- c:\Program Files\WIDCOMM\Bluetooth Software\syswow64
- c:\Program Files (x86)\Windows Live\Shared
- c:\Program Files (x86)\Bazaar
- c:\Program Files (x86)\QuickTime\QTSystem
...
--
Will
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |