Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7893657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T07:11:19+00:00 2026-06-03T07:11:19+00:00

I am trying to setup mysql gem on ruby-1.9.3 installed with rvm. I want

  • 0

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 –>

sudo env ARCHFLAGS="-arch x86_64" gem install --no-rdoc --no-ri mysql -- --with-mysql-config=/usr/local/bin/mysql_config

When I issue –> RAILS_ENV=production rake db:migrate, I get

/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

However I have successfully deployed redmine1.3 on default ruby1.8.7 installation of OSX with installing mysql gem the very same way.

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T07:11:20+00:00Added an answer on June 3, 2026 at 7:11 am

    I also struggled with this question. I could not get redmine working with mysql and ruby 1.9.3.

    The answer is very easy and simple. For ruby 1.9.3 together with redmine you have to use the gem mysql2 !

    In http://www.redmine.org/projects/redmine/wiki/RedmineUpgrade#Option-1-Downloaded-release-targz-or-zip-file it is also written to change the database adapter from mysql to mysql2.

    So install gem install mysql2 and also keep sure to have a

    database.yml with msql2 adapter:

    production:
        adapter: mysql2
        database: redmine
        host: localhost
        username: redmine
        password: redmine
        encoding: utf8 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I'm trying to get MySQL setup with python. I run sudo easy_install mysql-python
I'm trying to set the ideal performance setup for MySQL and resources needed on
Hello I am trying to setup a Padrino project using DataMapper and MySQL on
I'm a new ruby/rails user trying to get my mac set up for the
I am trying to setup Django to use MySQL. I am getting the following
I'm trying to setup an automatic event countdown. What I want to do is
I'm trying to install a Rails app on a Cygwin Rails + WAMP MySQL
I'm trying to install redmine on a Centos server. I already have PHP and
I'm trying to setup an mysql import script in Phing, but the < is
I am trying to setup the connection to a Mysql database. However I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.