Problem with gempath

hi, I recently got problem with installing gem. when i execute "gem
install xxx" it install to the current directory.
here is what i've got when i execute "gem env"

  - GEM PATHS:

···

-
     - /Users/jsney/.gem/ruby/1.8
     - /opt/local/lib/ruby/gems/1.8

i don't know how to remove the first record. anyone can help ?

if it is in your ~/.gemrc then editing this file should help

badboy_

···

On Thu, Nov 19, 2009 at 02:40:06AM +0900, jney wrote:

hi, I recently got problem with installing gem. when i execute "gem
install xxx" it install to the current directory.
here is what i've got when i execute "gem env"

  - GEM PATHS:
     -
     - /Users/jsney/.gem/ruby/1.8
     - /opt/local/lib/ruby/gems/1.8

i don't know how to remove the first record. anyone can help ?

Hi jan-Erik, i should precise that, gempath isn't define in my
~/.gemrc

···

On 18 nov, 18:53, Jan-Erik Rediger <bad...@archlinux.us> wrote:

On Thu, Nov 19, 2009 at 02:40:06AM +0900, jney wrote:
> hi, I recently got problem with installing gem. when i execute "gem
> install xxx" it install to the current directory.
> here is what i've got when i execute "gem env"

> - GEM PATHS:
> -
> - /Users/jsney/.gem/ruby/1.8
> - /opt/local/lib/ruby/gems/1.8

> i don't know how to remove the first record. anyone can help ?

if it is in your ~/.gemrc then editing this file should help

badboy_

Just fix it.
GEM_PATH env var was set by rvm (http://rvm.beginrescueend.com/\).

···

On 18 nov, 19:21, jney <jeansebastien....@gmail.com> wrote:

Hi jan-Erik, i should precise that, gempath isn't define in my
~/.gemrc

On 18 nov, 18:53, Jan-Erik Rediger <bad...@archlinux.us> wrote:

> On Thu, Nov 19, 2009 at 02:40:06AM +0900, jney wrote:
> > hi, I recently got problem with installing gem. when i execute "gem
> > install xxx" it install to the current directory.
> > here is what i've got when i execute "gem env"

> > - GEM PATHS:
> > -
> > - /Users/jsney/.gem/ruby/1.8
> > - /opt/local/lib/ruby/gems/1.8

> > i don't know how to remove the first record. anyone can help ?

> if it is in your ~/.gemrc then editing this file should help

> badboy_

Just fix it.
GEM_PATH env var was set by rvm (http://rvm.beginrescueend.com/\).