title: How to change the path where ruby gems are installed on OS 10.6.6 Ruby 1.8 and Rails 3
body: <p>Whether I use <code>gem install</code> or <code>bundle install</code> for my gems, they don't work. Sometimes <code>sudo gem install</code> gets gems to work. I ran the <code>gem list -d</code> and <code>which gem</code> commands, and it seems that my system is configured such that all the gems get installed into " /Library/Ruby/Gems/1.8" but my environment expects them in "/usr/bin/gem". How could I properly correct this? I was under the impression that 'bundle' should be able to install a local, application specific copy of a gem?</p>