title: gem install mysql problem in rails
body: <p>Im getting an error with a rails app.</p>
  
  <blockquote>
    <p>The bundled mysql.rb driver has been
    removed from Rails 2.2. Please install
    the mysql gem and try again: gem
    install mysql.</p>
  </blockquote>
  
  <p>And when i try to do gem install mysql it still doesnt work and im getting this error.</p>
  
  <blockquote>
    <p>WARNING:  Installing to ~/.gem since
    /Library/Ruby/Gems/1.8 and      /usr/bin
    aren't both writable. WARNING:  You
    don't have
    /Users/bartligthart/.gem/ruby/1.8/bin
    in your PATH,       gem executables will
    not run.</p>
  </blockquote>
  
  <p>I also tried this but it didn't work</p>
  
  <blockquote>
    <p>sudo gem install mysql −− −−with−mysql−config≡/usr/local/mysql/bin/mysql_config</p>
  </blockquote>
  
  <p>what could i do to install mysql?</p>