The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mysql on Rails 2.2 problem

Discussion in 'General Discussion' started by lord_mezry, Jun 1, 2010.

  1. lord_mezry

    lord_mezry Registered

    Joined:
    Jun 1, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I don't know where this post should be so i just put it here.

    I am trying to install Redmine on my webspace
    an i am using putty for ssh access
    during the installation steps I encountered

    #RAILS_ENV=production rake db:migrate

    (in /home/sparctec/rails_apps/Redmine)
    !!! 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!
    no such file to load -- mysql

    (See full trace by running task with --trace)

    what do i do?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,455
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Have you tried what that message suggests?

    More here in the Documentation that might be helpful to read:
    WHMsFAQ < AllDocumentation/AllFAQ < TWiki
     
  3. lord_mezry

    lord_mezry Registered

    Joined:
    Jun 1, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    yes I did actually but still a long error message shows up..

     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,455
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  5. damainman

    damainman Well-Known Member

    Joined:
    Nov 13, 2003
    Messages:
    515
    Likes Received:
    0
    Trophy Points:
    16
    Did you ever find the solution to this?

    I tried using their suggested fix:
    Code:
    gem install mysql --with-mysql-config=/user/bin/mysql_config
    But I keep getting this error:
    Code:
        invalid option: --with-mysql-config=/usr/bin/mysql_config
    
    The other part of the fix suggests going into the following directory:
    But that folder doesn't exist for me.

    I'm also trying to get redmine installed as a cpanel user... although I have root Access if i need it.
     
Loading...

Share This Page