Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Ruby on Rails: "no such file to load -- mysql"

Discussion in 'General Discussion' started by pdevisser, Jan 10, 2010.

  1. pdevisser

    pdevisser Registered

    Joined:
    Jul 4, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    After setting up a RoR application, and searching online in a variety of places to figure out what

    $:.push("/home/username/ruby/gems")

    actually refers to, I was able to run rake db:migrate to configure my application. However, after attempting to access the application from the browser, I encountered the following error in the logs.

    /!\ FAILSAFE /!\ Sun Jan 10 14:14:25 -0600 2010
    Status: 500 Internal Server Error
    no such file to load -- mysql

    I am able to access the database via the command line (SSH) as well as run rake tasks related to database management. In addition, I was able to access the console, and able to create/find models.

    Has anyone else experienced this? Can anyone offer a solution?
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice