delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/11/15/13:02:56

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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=H1
gbKQdcLANgytisLUvLtYwdvYMBfoUEf4wUDWESt4wiNUs4VazTpUN6ySkD6H1zPn
2UUqTvYu6dkr2YQLAae59EKTZC2ssSD1+LChSoHa6NpgJFqyxXhTO7/HKZrhK1QK
+hUMh8vlHyuoPyYKQMDZNgYvfiLUNNfOmQNhSXChA=
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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=rvrGdVXy
9LhG6jucN72pLvTOQPU=; b=dKJ6L6io7cVCZ3lXEmvbLi12NgblmAkZpGxZtzOz
ak2DT6eWUS0NJxUfQnTxBZUslKgnELYV+XPHmBU6KUWCo5+EdFHoFOp0Yik1/Q4U
JEB7b6YdxW3u4rAJxFXgxxdgAdhj7448YTFuN8XsEWD61Ts+1cFxO1TanF4/8lgN
/yI=
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=0.9 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-la0-f48.google.com
MIME-Version: 1.0
X-Received: by 10.112.142.197 with SMTP id ry5mr15239027lbb.26.1416074554345; Sat, 15 Nov 2014 10:02:34 -0800 (PST)
In-Reply-To: <CAHfREDWPfGmb-iKUpVwPKw5FBmZAFR4kjtbsZKBUZysX2GwOUg@mail.gmail.com>
References: <CAHfREDWPfGmb-iKUpVwPKw5FBmZAFR4kjtbsZKBUZysX2GwOUg AT mail DOT gmail DOT com>
Date: Sun, 16 Nov 2014 02:02:34 +0800
Message-ID: <CAFMYRROrJSJJ5NtZQNSgOrbNUMFDmh8ewqMFh+BQZjQjVmj_jg@mail.gmail.com>
Subject: Re: Ruby issue: Installed gems are not in path
From: Kevin Connor Arpe <kevinarpe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

Command "gem environment" should tell you where the binaries are installed.

I had the same issue on Friday.  All the Googling I did couldn't help.
With a bit of luck, I discovered the binaries are usually installed in
"~/bin" for Cygwin.

Does it work for you?

On Sat, Nov 15, 2014 at 3:38 PM, Tallak Tveide <tallak AT tveide DOT net> wrote:
> When installing gems with the packaged Ruby, any command line binaries
> that are included with installed gems are not available in the path.
>
> When the gems have previously (meaning in an earlier installed version
> of Ruby) been installed, they work as expected. I suspect this is
> because the binaries in /usr/bin/xxx are already present before
> installing the gem anew.
>
> I have seen the same behavior on a colleage's machine
>
> Example:
>
> $ gem install t
> Fetching: simple_oauth-0.3.0.gem (100%)
> Successfully installed simple_oauth-0.3.0
> Fetching: naught-1.0.0.gem (100%)
> Successfully installed naught-1.0.0
> <lots more output>
> $ t
> -bash: t: command not found
>
> $ ruby --version
> ruby 2.0.0p594 (2014-10-27) [i386-cygwin]
>
> $ uname -a
> CYGWIN_NT-6.1-WOW64 NOR-4911GS1 1.7.33-2(0.280/5/3) 2014-11-13 15:45 i686 Cygwin
>
> --
> 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
>

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019