From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16858 invoked by alias); 14 Oct 2017 17:51:41 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 22940 Received: (qmail 26249 invoked by uid 1010); 14 Oct 2017 17:51:41 -0000 X-Qmail-Scanner-Diagnostics: from mx.spodhuis.org by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(94.142.241.89):SA:0(-4.2/5.0):. Processed in 2.866557 secs); 14 Oct 2017 17:51:41 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: zsh-workers+phil.pennock@spodhuis.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=spodhuis.org; s=d201708; h=In-Reply-To:Content-Type:MIME-Version:References :Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ciLQwAMw2J+r8uKbW8NIKaz1iYLeCvRMWggayYJazJI=; b=UVBkFsbVJMXVJwqGDRm/t1u+KH jgz3rJcvTgJW1Ou9oB4kOqsly7AaiD17nHGY+ooWrNr1jal0KwI0kEFBY4s64tyg4kfxTwDfrDjiL cMXIYBYOZft4jekBZrohfs6uMwW62mUDrJVYqHw7aqjBIBu2Sel0BLZ8R8Uy++oaBCZunfP/qJAwD 0n6ADCwrRJLQU6JHKDOOR8uadI9X; Date: Sat, 14 Oct 2017 13:51:32 -0400 From: Phil Pennock To: Sascha Manns Cc: zsh-users@zsh.org Subject: Re: gem update failed Message-ID: <20171014175132.GA18290@tower.spodhuis.org> References: <1507897129.2335.9.camel@mailbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1507897129.2335.9.camel@mailbox.org> OpenPGP: url=https://www.security.spodhuis.org/PGP/keys/0x4D1E900E14C1CC04.asc On 2017-10-13 at 14:18 +0200, Sascha Manns wrote: > this is my first try with using the zsh shell. > I just typed 'gem update' and then comes this one https://paste.ubuntu. > com/25731832/' Nothing that I could see in that relates to zsh at all. I didn't spot anything relating to shell integration. This is entirely a Ruby ecosystem issue. So this is off-topic for zsh-users, but to get you started looking in the right place, note that the stack trace on line 18 explicitly complains of the missing piece, and on the next line suggests what might be done. "psych" appears to have been added to Ruby's stdlib in version 1.9, which is now very old; "ruby --version" (or "irb" and then "puts RUBY_VERSION") will show you the version you have. If your Ruby is that ancient then there's nothing to be done until you get current and search for "rbenv" for a decent way to manage that. If your Ruby is new enough, then the advice in the stack trace is probably accurate. Your shell, whether zsh, bash, fish, elvish or anything else, can invoke commands, provide environment variables to control the commands, and sometimes, with special integration hacks, let commands appear to manipulate the shell (by really using functions invoked transparently around the command); I mention this last only because in the area you're working in, these hacks are more common (they're normally very rare). So it's possible for problems to be shell-related, but unlikely. If you don't know, then a good way to start is to just try the command in the other shell. If you start "bash" and the command works from bash, but not from zsh, then you're in a good place to come ask for help, noting what you've tried and why you think it might be something wrong with your setup of zsh (or zsh itself). Until you've confirmed that it's shell-specific, your search for solutions should focus on the command being invoked, not the shell used to invoke it. Good luck, -Phil