Skip to content

Instantly share code, notes, and snippets.

@siebertm
Created August 27, 2009 13:03
Show Gist options
  • Save siebertm/176274 to your computer and use it in GitHub Desktop.
Save siebertm/176274 to your computer and use it in GitHub Desktop.
micha@ms:~$ rvm use 1.9
<i> Switching to ruby 1.9 ...
micha@ms:~$ ruby -v
ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin9.7.0]
micha@ms:~$ gem list
*** LOCAL GEMS ***
actionmailer (2.3.3)
actionpack (2.3.3)
activerecord (2.3.3)
activeresource (2.3.3)
activesupport (2.3.3)
antage-postgres (0.7.9.2009.05.13)
pg (0.8.0)
postgres-pr (0.6.1)
rack (1.0.0)
rails (2.3.3)
rake (0.8.7)
sqlite3-ruby (1.2.5)
thoughtbot-factory_girl (1.2.2)
micha@ms:~$ irb
irb(main):001:0> require "activerecord"
LoadError: no such file to load -- activerecord
from (irb):1:in `require'
from (irb):1
from /Users/micha/.rvm/ruby-1.9.1-p243/bin/irb:12:in `<main>'
irb(main):002:0> require "rubygems"
=> false
irb(main):003:0> require "activerecord"
LoadError: no such file to load -- activerecord
from (irb):3:in `require'
from (irb):3
from /Users/micha/.rvm/ruby-1.9.1-p243/bin/irb:12:in `<main>'
irb(main):004:0> exit
rvm debug
rvm 0.0.21 (2009.08.25) [http://rvm.beginrescueend.com/]
ruby:
interpreter: "ruby"
version: "1.9.1p243"
date: "2009-07-16"
platform: "i386-darwin9.7.0"
patchlevel: "2009-07-16 revision 24175"
full_version: "ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin9.7.0]"
homes:
gem: "/Users/micha/.gem/ruby/1.9.1"
ruby: "/Users/micha/.rvm/ruby-1.9.1-p243"
binaries:
ruby: "/Users/micha/.rvm/ruby-1.9.1-p243/bin/ruby"
irb: "/Users/micha/.rvm/ruby-1.9.1-p243/bin/irb"
gem: "/Users/micha/.rvm/ruby-1.9.1-p243/bin/gem"
<i> PATH:/Users/micha/.rvm/ruby-1.9.1-p243/bin:/Users/micha/.gem/ruby/1.9.1/bin:/usr/local/mysql/bin:/usr/local/git/bin:/opt/local/bin
<i> ~/.bash_profile:
export PATH=/usr/local/mysql/bin:$PATH
PATH=$PATH:/usr/local/pgsql/bin
PATH=$PATH:/opt/local/lib/postgresql83/bin
if [ -f ~/.rvm/bin/rvm ] ; then source ~/.rvm/bin/rvm ; fi
if [ -f ~/.rvm/current ] ; then source ~/.rvm/current ; fi
<i> /Users/micha/.rvm/current:
PATH=/Users/micha/.rvm/ruby-1.9.1-p243/bin:/Users/micha/.gem/ruby/1.9.1/bin:/usr/local/mysql/bin:/usr/local/git/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin:/opt/PalmSDK/0.1/bin:/Library/PostgreSQL/8.3/bin:/usr/local/pgsql/bin:/opt/local/lib/postgresql83/bin ; export PATH
RUBY_VERSION='ruby 1.9.1p243' ; export RUBY_VERSION
GEM_HOME='/Users/micha/.gem/ruby/1.9.1' ; export GEM_HOME
MY_RUBY_HOME='/Users/micha/.rvm/ruby-1.9.1-p243' ; export MY_RUBY_HOME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment