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:
  • REMOTE SOURCES:

:backtrace: false
:benchmark: false
:bulk_threshold: 1000
:sources:

=================================
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…

On 25/11/11 16:33, “Pinit A.” [email protected] 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.

You could try asking on the MacPorts mailing list:

http://lists.macosforge.org/mailman/listinfo/macports-users/

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

Cheers,

Phil...

On Nov 25, 2011, at 8:33, Pinit A. [email protected]
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.

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs