Can't get gem bundler to work with either rvm 1.9.1 and 1.9.2

I installed the bundler, no problem - but it seems to have screwed up
my gem repository in both cases!?
What to do?

kristian-mandrups-macbook-pro:~ kristianconsult$ sudo gem install thor
/Users/kristianconsult/.rvm/gems/ruby/1.9.1/gems/bundler-0.8.1/lib/
rubygems_plugin.rb:2:in `require': no such file to load -- bundler/
commands/bundle_command (LoadError)
  from /Users/kristianconsult/.rvm/gems/ruby/1.9.1/gems/bundler-0.8.1/
lib/rubygems_plugin.rb:2:in `<top (required)>'
  from /Users/kristianconsult/.rvm/ruby-1.9.1-p376/lib/ruby/site_ruby/
1.9.1/rubygems.rb:1136:in `load'
  from /Users/kristianconsult/.rvm/ruby-1.9.1-p376/lib/ruby/site_ruby/
1.9.1/rubygems.rb:1136:in `block in <top (required)>'
  from /Users/kristianconsult/.rvm/ruby-1.9.1-p376/lib/ruby/site_ruby/
1.9.1/rubygems.rb:1134:in `each'
  from /Users/kristianconsult/.rvm/ruby-1.9.1-p376/lib/ruby/site_ruby/
1.9.1/rubygems.rb:1134:in `<top (required)>'
  from <internal:gem_prelude>:235:in `require'
  from <internal:gem_prelude>:235:in `load_full_rubygems_library'
  from <internal:gem_prelude>:334:in `const_missing'
  from /Users/kristianconsult/.rvm/ruby-1.9.1-p376/bin/gem:15:in
`<main>'

kristian-mandrups-macbook-pro:~ kristianconsult$ gem list bundler

*** LOCAL GEMS ***

bundler (0.8.1)

kristian-mandrups-macbook-pro:~ kristianconsult$ rvm use 1.9.2
<i> Now using ruby 1.9.2 preview1 </i>
kristian-mandrups-macbook-pro:~ kristianconsult$ gem list bundler

*** LOCAL GEMS ***

bundler (0.8.1)

kristian-mandrups-macbook-pro:~ kristianconsult$ sudo gem install thor
/Users/kristianconsult/.rvm/gems/ruby/1.9.2/gems/bundler-0.8.1/lib/
rubygems_plugin.rb:2:in `require': no such file to load -- bundler/
commands/bundle_command (LoadError)
  from /Users/kristianconsult/.rvm/gems/ruby/1.9.2/gems/bundler-0.8.1/
lib/rubygems_plugin.rb:2:in `<top (required)>'
  from /Users/kristianconsult/.rvm/ruby-1.9.2-preview1/lib/ruby/
site_ruby/1.9.1/rubygems.rb:1136:in `load'
  from /Users/kristianconsult/.rvm/ruby-1.9.2-preview1/lib/ruby/
site_ruby/1.9.1/rubygems.rb:1136:in `block in <top (required)>'
  from /Users/kristianconsult/.rvm/ruby-1.9.2-preview1/lib/ruby/
site_ruby/1.9.1/rubygems.rb:1134:in `each'
  from /Users/kristianconsult/.rvm/ruby-1.9.2-preview1/lib/ruby/
site_ruby/1.9.1/rubygems.rb:1134:in `<top (required)>'
  from <internal:gem_prelude>:252:in `require'
  from <internal:gem_prelude>:252:in `load_full_rubygems_library'
  from <internal:gem_prelude>:372:in `const_missing'
  from /Users/kristianconsult/.rvm/ruby-1.9.2-preview1/bin/gem:15:in
`<main>'
kristian-mandrups-macbook-pro:~ kristianconsult$

kristian-mandrups-macbook-pro:~ kristianconsult$ gem install thor
Successfully installed thor-0.12.2
1 gem installed
Installing ri documentation for thor-0.12.2...
ERROR: While executing gem ... (Errno::EACCES)
    Permission denied - /Users/kristianconsult/.ri/cache/.doc_dirs

kristian-mandrups-macbook-pro:~ kristianconsult$ gem install thor

Successfully installed thor-0.12.2

1 gem installed

Installing ri documentation for thor-0.12.2…

ERROR: While executing gem … (Errno::EACCES)

Permission denied - /Users/kristianconsult/.ri/cache/.doc_dirs

Kristian, I would recommend doing the following:

$ rvm-install --head

$ cd

$ sudo chown -R :staff .ri

$ gem install thor

Note: For OWNER, use the username of the logged in user.

Lastly, I would recommend finding a good resource for the Unix command-set.

Good luck,

-Conrad