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

  • Home
  • SEARCH
  • 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 8865489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T16:31:24+00:00 2026-06-14T16:31:24+00:00

I was trying to install Redmine on Fedora 17 , following this Until this

  • 0

I was trying to install Redmine on Fedora 17, following this

Until this step:

RAILS_ENV=production rake db:migrate

It throws an error saying:

rake aborted!
Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (cannot load such file -- mysql2/mysql2)
/var/www/redmine/lib/plugins/acts_as_activity_provider/init.rb:2:in `block in <top (required)>'
/var/www/redmine/config/initializers/00-core_plugins.rb:12:in `eval'
/var/www/redmine/config/initializers/00-core_plugins.rb:12:in `block in <top (required)>'
/var/www/redmine/config/initializers/00-core_plugins.rb:2:in `each'
/var/www/redmine/config/initializers/00-core_plugins.rb:2:in `<top (required)>'
/var/www/redmine/config/environment.rb:14:in `<top (required)>'
Tasks: TOP => db:migrate => environment

which is weird, because I have already installed mysql2 with bundle:

bundle show
...
* mysql2 (0.3.11)//***which is right in the bundle show list***
...

my database.yml is like:

production:
  adapter: mysql2
  database: redmine
  host: localhost
  username: redmine
  password: 123456
  encoding: utf8

others my be involved

    ruby 1.9.3p327 (2012-11-10 revision 37606) [i386-linux]
    Rails 3.2.8                                          
    gem 1.8.24
    mysql  Ver 14.14 Distrib 5.5.28, for Linux (i686) using readline 5.1
    Redmine 2.1.3

I have found some related questions by google, like:http://www.redmine.org/issues/11071#note-4
And I do as they said, adding symlink

ln -s /usr/local/share/gems/gems/mysql2-0.3.11/lib /usr/share/ruby/mysql2

Then exactly as posted in the page:

rake aborted!
uninitialized constant Mysql2::Client::REMEMBER_OPTIONS

I tried to do what is posted in #6 but it didn’t work for me.
Is this the right way to solve my problem, and what should I do with the second bug.

  • 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-14T16:31:25+00:00Added an answer on June 14, 2026 at 4:31 pm
    > add gem "minitest" into Gemfile
    > gem list | cut -d" " -f1 | xargs gem uninstall -aIx
    > yum erase rubygem-activesupport-3.0.11-5.fc17.noarch
    > yum install rubygem-bundler
    > bundle install
    > then other steps, this works!!
    

    for details, please refer to this
    thanks!!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

[~/redmine]# RAILS_ENV=production rake db:migrate --trace ** Invoke db:migrate (first_time) ** Invoke environment (first_time) **
Today I was trying to install Redmine on my shared hosting following this guide:
When trying to install a module using Maven, it throws up the following error:
Trying to install pear package and keep getting this strange error. Can you shed
I'm trying install pycrypto on osx with easy_install and I'm getting the following error:
Trying to install mysql-python. Got following error. Got mysql and pythond already installed. Any
When trying to install a package in R I get the following odd error
Trying to install mysql2 gem on ruby 1.9.2 and I get this error: Installing
I'm trying to install backlogs 0.9.9 with redmine 2.1.2 under ubuntu 12.10. Following the
While trying to install the Subversion plugin I get this error when Eclipse starts:

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.