title: Getting mysql gem working with ruby-1.9.3 on rvm
body: <p>I am trying to setup mysql gem on ruby-1.9.3 installed with rvm. I want to set up the 'redmine'.  To install mysql gem I used --></p>
  
  <pre><code>sudo env ARCHFLAGS="-arch x86_64" gem install --no-rdoc --no-ri mysql -- --with-mysql-config=/usr/local/bin/mysql_config
  </code></pre>
  
  <p>When I issue --> RAILS_ENV=production rake db:migrate, I get</p>
  
  <pre><code>/Users/myth/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.2/lib/bundler/runtime.rb:211: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
  !!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql.
  rake aborted!
  cannot load such file -- mysql
  </code></pre>
  
  <p>However I have successfully deployed redmine1.3 on default ruby1.8.7 installation of OSX with installing mysql gem the very same way.</p>
  
  <p>I want to work on the latest trunk with ruby-1.9.3
  How can I resolve the issue? I have been searching the mailing list and found similar posts, however could not solve the problem.</p>