Tuesday, September 17, 2013

Re: [Rails] RVM Path issue when I run RVM -V

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 ...

On Tuesday, September 17, 2013 9:09:03 AM UTC+2, Colin Law wrote:
On 17 September 2013 08:06, Colin Law <cla...@googlemail.com> wrote:
> On 17 September 2013 04:56, Chris Kuffo <li...@ruby-forum.com> 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

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

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ecbe0322-3a71-403e-a60e-3dc1ce8e3768%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate