Re: Ruby Gem Issue



On Jun 1, 2009, at 11:48, Zayd Connor wrote:

Eric Hodel wrote:
On May 31, 2009, at 16:41, Zayd Connor wrote:
But when I type gem --version in my terminal it says I have the
latest
1.3.4
Is something possibly wrong with my set up somewhere?

Likely the path for vim is not the same as the path for your shell.

:!gem env and :!echo $PATH vs gem env and echo $PATH will help you
figure it out.

Thanks for the response!!
I typed in :!echo $PATH vs gem env and echo $PATH

/usr/bin:/bin:/usr/sbin:/sbin vs gem env and echo
/usr/bin:/bin:/usr/sbin:/sbin

So do I need to add gem to usr/bin?

"vs" is not part of the command.

run `echo $PATH` via vim and shell

run `gem env` via vim and shell

include output from all four commands in your email.

.



Relevant Pages

  • Re: Ruby Gem Issue
    ... Eric Hodel wrote: ... Likely the path for vim is not the same as the path for your shell. ... I typed in:!echo $PATH vs gem env and echo $PATH ...
    (comp.lang.ruby)
  • Re: Ruby Gem Issue
    ... I typed in:!echo $PATH vs gem env and echo $PATH ... So do I need to add gem to usr/bin? ... run `echo $PATH` via vim and shell ...
    (comp.lang.ruby)
  • Re: Vimdiff path issue
    ... Earlier than when you apparently installed the MKS ... unless the environment variable SHELL is set. ... installation added SHELL to the environment in which you're starting ... use their versions of vim and/or gvim. ...
    (comp.editors)
  • Re: grep problem
    ... If I do,:grep string ... bash by executing ... If I then run vim and execute ... That confirms that the shell spawned from vim does not ...
    (comp.editors)
  • Re: [vim] grep problem
    ... If I do,:grep string ... bash by executing ... If I then run vim and execute ... That confirms that the shell spawned from vim does not ...
    (comp.editors)