Can't find right gem config file

I have install ruby-1.9.1 via Macport long time ago. I have upgrade to
1.9.3 via macport but gem environment show that INSTALLATION DIRECTORY
and GEM PATHS still point to 1.9.1

Please help I can't find how to correct it.

···

===================================================
RubyGems Environment:
  - RUBYGEMS VERSION: 1.8.11
  - RUBY VERSION: 1.9.3 (2011-10-30 patchlevel 0) [x86_64-darwin10]
  - INSTALLATION DIRECTORY: /opt/local/lib/ruby1.9/gems/1.9.1
  - RUBY EXECUTABLE: /opt/local/bin/ruby1.9
  - EXECUTABLE DIRECTORY: /opt/local/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-darwin-10
  - GEM PATHS:
     - /opt/local/lib/ruby1.9/gems/1.9.1
     - /var/root/.gem/ruby/1.9.1
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
     - :sources => ["http://rubygems.org/",
"http://gems.rubyonrails.org", "http://gems.github.com"]
  - REMOTE SOURCES:
     - http://rubygems.org/
     - http://gems.rubyonrails.org
     - http://gems.github.com

sh-3.2# cat .gemrc
---
:backtrace: false
:benchmark: false
:bulk_threshold: 1000
:sources:
- http://rubygems.org/
- http://gems.rubyonrails.org
- http://gems.github.com
:update_source

=================================
sh-3.2# env
SHELL=/bin/sh
TERM=xterm-256color
USER=root
SUDO_USER=root
SUDO_UID=0
__CF_USER_TEXT_ENCODING=0x0:0:0
USERNAME=root
MAIL=/var/mail/cyberjom
PATH=/opt/local/bin:/opt/local/sbin:/usr/share/grails/bin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Firebird.framework/Versions/A/Resources/bin:/usr/local/ruby1.9/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/local/bin:/usr/X11/bin:/opt/local/lib/oracle/
PWD=/private/var/root
SHLVL=1
SUDO_COMMAND=/usr/bin/su
HOME=/var/root
LOGNAME=root
SUDO_GID=0
_=/usr/bin/env
OLDPWD=/private/etc

Thank...

--
Posted via http://www.ruby-forum.com/.

You could try asking on the MacPorts mailing list:

<http://lists.macosforge.org/mailman/listinfo/macports-users/&gt;

It's a very friendly, helpful list & I'm sure they can help.

Cheers,

    Phil...

···

On 25/11/11 16:33, "Pinit Asavanuchit" <pinit@intersol.co.th> wrote:

I have install ruby-1.9.1 via Macport long time ago. I have upgrade to
1.9.3 via macport but gem environment show that INSTALLATION DIRECTORY
and GEM PATHS still point to 1.9.1

Please help I can't find how to correct it.

--
Nothing to see here... move along, move along

There is nothing to correct. That's the abi compatibility version.

···

On Nov 25, 2011, at 8:33, Pinit Asavanuchit <pinit@intersol.co.th> wrote:

I have install ruby-1.9.1 via Macport long time ago. I have upgrade to
1.9.3 via macport but gem environment show that INSTALLATION DIRECTORY
and GEM PATHS still point to 1.9.1

Please help I can't find how to correct it.