alcina
September 17, 2013, 5:56am
#1
Hello - Hoping someone can help with this issue. Everytime i run rvm -v
i receive this error.
Warning! PATH is not properly set up,
‘/usr/local/rvm/gems/ruby-1.9.3-p392/bin’ is not at first place, usually
this is caused by shell initialization files - check them for ‘PATH=…’
entries,
My .bash_profile looks like this:
export
PATH=$PATH:/usr/local/rvm/gems/ruby-1.9.3-p392/bin:/usr/local/rvm/gems/[email protected] /bin:/usr/local/rvm/rubies/ruby-1.9.3-p392/bin:/usr/local/rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/sm/bin:/opt/sm/pkg/active/bin:/usr/local/bin:/opt/sm/pkg/active/sbina
export PATH=/usr/local/bin:$PATH
export PATH="/usr/local/bin:/usr/local/sbin:~/bin:$PATH"
Can anyone point me in the right direction to resolve this. I have
already tried the following.
rvm get stable --auto-dotfiles
rvm get head --auto-dotfiles
rvm get head
rvm get stable
Thanks in advance.
kampers
September 17, 2013, 9:08am
#2
On 17 September 2013 04:56, Chris K. [email protected] wrote:
Hello - Hoping someone can help with this issue. Everytime i run rvm -v
i receive this error.
Warning! PATH is not properly set up,
‘/usr/local/rvm/gems/ruby-1.9.3-p392/bin’ is not at first place, usually
this is caused by shell initialization files - check them for ‘PATH=…’
entries,
Is this a new setup or has it worked previously?
What do you see if you run
echo $PATH
Colin
kampers
September 17, 2013, 9:10am
#3
On 17 September 2013 08:06, Colin L. [email protected] wrote:
What do you see if you run
echo $PATH
Also googling for the error message produced [1]. Possibly that will
help.
[1]
http://stackoverflow.com/questions/17968580/warning-path-is-not-properly-set-up-usually-this-is-caused-by-shell-initializa
Colin
kampers
September 17, 2013, 10:10am
#4
Change this line:
export PATH=$PATH:/usr/local/rvm/
gems/ruby-1.9.3-p392/bin:/usr/local/rvm/gems/[email protected] /bin:/usr/local/rvm/rubies/ruby-1.9.3-p392/bin:/usr/local/rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/sm/bin:/opt/sm/pkg/active/bin:/usr/local/bin:/opt/sm/pkg/active/sbina
to:
export
PATH=$PATH:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/sm/bin:/opt/sm/pkg/active/bin:/usr/local/bin:/opt/sm/pkg/active/sbina
as sourcing rvm will load default ruby and set it properly first in the
PATH …
kampers
September 17, 2013, 4:43pm
#5
Please read the error messages and LOOK at your path variables, not only
copy and paste them.
Reading and understanding error messages can help save time pretty
often…
Am 17.09.2013 05:56 schrieb “Chris K.” [email protected] :
kampers
September 17, 2013, 11:46pm
#6
‘/usr/local/rvm/gems/ruby-1.9.3-p392/bin’ is not at first place
export
PATH=/usr/local/rvm/gems/ruby-1.9.3-p392/bin:/usr/local/rvm/gems/[email protected] /bin:/usr/local/rvm/rubies/ruby-1.9.3-p392/bin:/usr/local/rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/sm/bin:/opt/sm/pkg/active/bin:/usr/local/bin:/opt/sm/pkg/active/sbina:$PATH