Skip to content

Instantly share code, notes, and snippets.

@phildobbin
Created March 14, 2012 16:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phildobbin/2037776 to your computer and use it in GitHub Desktop.
Save phildobbin/2037776 to your computer and use it in GitHub Desktop.
rvm & Mac Ports anomaly after running sudo port selfupdate
$ rvm info
ruby-1.9.3-p0:
system:
uname: "Darwin darkstar.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386"
bash: "/bin/bash => GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0)"
zsh: "/bin/zsh => zsh 4.3.9 (i386-apple-darwin10.0)"
rvm:
version: "rvm 1.10.3 by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.beginrescueend.com/]"
updated: "4 minutes 49 seconds ago"
ruby:
interpreter: "ruby"
version: "1.9.3p0"
date: "2011-10-30"
platform: "x86_64-darwin10.8.0"
patchlevel: "2011-10-30 revision 33570"
full_version: "ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin10.8.0]"
homes:
gem: "/Users/dobbin/.rvm/gems/ruby-1.9.3-p0"
ruby: "/Users/dobbin/.rvm/rubies/ruby-1.9.3-p0"
binaries:
ruby: "/Users/dobbin/.rvm/rubies/ruby-1.9.3-p0/bin/ruby"
irb: "/Users/dobbin/.rvm/rubies/ruby-1.9.3-p0/bin/irb"
gem: "/Users/dobbin/.rvm/rubies/ruby-1.9.3-p0/bin/gem"
rake: "/Users/dobbin/.rvm/gems/ruby-1.9.3-p0/bin/rake"
environment:
PATH: "/Users/dobbin/ronn/bin:/Users/dobbin/.rvm/gems/ruby-1.9.3-p0/bin:/Users/dobbin/.rvm/gems/ruby-1.9.3-p0@global/bin:/Users/dobbin/.rvm/rubies/ruby-1.9.3-p0/bin:/Users/dobbin/.rvm/bin:/Users/dobbin/perl5/perlbrew/bin:/Users/dobbin/perl5/perlbrew/perls/perl-5.14.2/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/usr/local/MacGPG2/bin:/usr/X11/bin:/usr/bin/ruby:/Users/dobbin/.rvm/src/rbx-head/bin:/usr/local/bin/ack:/opt/local/libexec/gnubin/:/usr/local/mysql/bin:/Users/dobbin/scripts:/opt/local/bin/rsync:/Developer/Tools:/usr/local/sbin:/Users/dobbin/gsutil:/Users/dobbin/bin/mr:/Users/dobbin/bin"
GEM_HOME: "/Users/dobbin/.rvm/gems/ruby-1.9.3-p0"
GEM_PATH: "/Users/dobbin/.rvm/gems/ruby-1.9.3-p0:/Users/dobbin/.rvm/gems/ruby-1.9.3-p0@global"
MY_RUBY_HOME: "/Users/dobbin/.rvm/rubies/ruby-1.9.3-p0"
IRBRC: "/Users/dobbin/.rvm/rubies/ruby-1.9.3-p0/.irbrc"
RUBYOPT: ""
gemset: ""
$ sudo port selfupdate
Password:
---> Updating MacPorts base sources using rsync
MacPorts base version 2.0.4 installed,
MacPorts base version 2.0.4 downloaded.
---> Updating the ports tree
---> MacPorts base is already the latest version
The ports tree has been updated. To upgrade your installed ports, you should run
port upgrade outdated
[Wed Mar 14 16:31:01 dobbin@darkstar:~ ] $ port outdated
The following installed ports are outdated:
npm 1.1.4_0 < 1.1.8_0
openssl 1.0.0g_0 < 1.0.0h_0
[Wed Mar 14 16:31:07 dobbin@darkstar:~ ] $ sudo port upgrade outdated
---> Computing dependencies for openssl
---> Fetching archive for openssl
---> Attempting to fetch openssl-1.0.0h_0.darwin_10.x86_64.tbz2 from http://packages.macports.org/openssl
---> Attempting to fetch openssl-1.0.0h_0.darwin_10.x86_64.tbz2.rmd160 from http://packages.macports.org/openssl
---> Installing openssl @1.0.0h_0
---> Cleaning openssl
---> Computing dependencies for openssl
---> Deactivating openssl @1.0.0g_0
---> Cleaning openssl
---> Activating openssl @1.0.0h_0
---> Cleaning openssl
---> Computing dependencies for npm
---> Fetching archive for npm
---> Attempting to fetch npm-1.1.8_0.darwin_10.noarch.tbz2 from http://packages.macports.org/npm
---> Attempting to fetch npm-1.1.8_0.darwin_10.noarch.tbz2.rmd160 from http://packages.macports.org/npm
---> Installing npm @1.1.8_0
---> Cleaning npm
---> Computing dependencies for npm
---> Deactivating npm @1.1.4_0
---> Cleaning npm
---> Activating npm @1.1.8_0
It is not recommended to install packages globally. But if you do so please be aware that they won't get cleaned up when you deactivate or uninstall npm. Globally installed
packages will remain in /opt/local/lib/node_modules/ until you manually delete them.
---> Cleaning npm
[Wed Mar 14 16:31:48 dobbin@darkstar:~ ] $ vim .bash_profile
[Wed Mar 14 16:33:40 dobbin@darkstar:~ ] $ source .bash_profile
[Wed Mar 14 16:33:49 dobbin@darkstar:~ ] $ ruby -v
ruby 1.8.7 (2012-02-08 patchlevel 358) [i686-darwin10]
[Wed Mar 14 16:34:41 dobbin@darkstar:~ ] $ which ruby
/opt/local/bin/ruby
[Wed Mar 14 16:34:51 dobbin@darkstar:~ ] $
$ rvm info
ruby-1.9.3-p0:
system:
uname: "Darwin darkstar.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386"
bash: "/bin/bash => GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0)"
zsh: "/bin/zsh => zsh 4.3.9 (i386-apple-darwin10.0)"
rvm:
version: "rvm 1.10.3 by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.beginrescueend.com/]"
updated: "5 hours 59 minutes 33 seconds ago"
ruby:
interpreter: "ruby"
version: "1.8.7"
date: "2012-02-08"
platform: "i686-darwin10"
patchlevel: "2012-02-08 patchlevel 358"
full_version: "ruby 1.8.7 (2012-02-08 patchlevel 358) [i686-darwin10]"
homes:
gem: "/Users/dobbin/.rvm/gems/ruby-1.9.3-p0"
ruby: "/Users/dobbin/.rvm/rubies/ruby-1.9.3-p0"
binaries:
ruby: "/opt/local/bin/ruby"
irb: "/opt/local/bin/irb"
gem: "/Users/dobbin/.rvm/rubies/ruby-1.9.3-p0/bin/gem"
rake: "/Users/dobbin/.rvm/gems/ruby-1.9.3-p0/bin/rake"
environment:
PATH: "/Users/dobbin/ronn/bin:/Users/dobbin/perl5/perlbrew/bin:/Users/dobbin/perl5/perlbrew/perls/perl-5.14.2/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/Users/dobbin/.rvm/gems/ruby-1.9.3-p0/bin:/Users/dobbin/.rvm/gems/ruby-1.9.3-p0@global/bin:/Users/dobbin/.rvm/rubies/ruby-1.9.3-p0/bin:/Users/dobbin/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/usr/local/MacGPG2/bin:/usr/X11/bin:/usr/bin/ruby:/usr/local/bin/ack:/opt/local/libexec/gnubin/:/usr/local/mysql/bin:/Users/dobbin/scripts:/opt/local/bin/rsync:/Developer/Tools:/usr/local/sbin:/Users/dobbin/gsutil:/Users/dobbin/bin/mr:/Users/dobbin/bin:/Users/dobbin/.rvm/src/rbx-head/bin:/Users/dobbin/bin/bin/sqlite3:/Users/dobbin/depot_tools:/Users/dobbin/typesafe-stack/bin"
GEM_HOME: "/Users/dobbin/.rvm/gems/ruby-1.9.3-p0"
GEM_PATH: "/Users/dobbin/.rvm/gems/ruby-1.9.3-p0:/Users/dobbin/.rvm/gems/ruby-1.9.3-p0@global"
MY_RUBY_HOME: "/Users/dobbin/.rvm/rubies/ruby-1.9.3-p0"
IRBRC: "/Users/dobbin/.rvm/rubies/ruby-1.9.3-p0/.irbrc"
RUBYOPT: ""
gemset: ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment