RVM Path issue when I run RVM -V

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/ruby-1.9.3-p392@global/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.

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

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]

Colin

Change this line:

export PATH=$PATH:/usr/local/rvm/
gems/ruby-1.9.3-p392/bin:/usr/local/rvm/gems/ruby-1.9.3-p392@global/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 …

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

‘/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/ruby-1.9.3-p392@global/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