zsh-users
 help / color / mirror / code / Atom feed
From: Phil Pennock <zsh-workers+phil.pennock@spodhuis.org>
To: Sascha Manns <Sascha.Manns@mailbox.org>
Cc: zsh-users@zsh.org
Subject: Re: gem update failed
Date: Sat, 14 Oct 2017 13:51:32 -0400	[thread overview]
Message-ID: <20171014175132.GA18290@tower.spodhuis.org> (raw)
In-Reply-To: <1507897129.2335.9.camel@mailbox.org>

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


  reply	other threads:[~2017-10-14 17:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-13 12:18 Sascha Manns
2017-10-14 17:51 ` Phil Pennock [this message]
2017-10-14 19:23   ` Sascha Manns

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171014175132.GA18290@tower.spodhuis.org \
    --to=zsh-workers+phil.pennock@spodhuis.org \
    --cc=Sascha.Manns@mailbox.org \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).