I try to start up my Rails application (Rails 3.2.3), but I get an error message from Passenger reading:
My Gemfile already includes the line I've seen this complaint on a number of other websites, but I haven't found an answer that applies to me because:
When I run asked 28 Jun '12, 19:23 TwitTheKnife |
It's working now. Here's my Gemfile:
answered 08 Aug '12, 19:10 TwitTheKnife |
Have you tried manually installing the mysql2 gem using the instructions here? Specifically, by exporting the appropriate environment variables, and then installing the gem as described under the "common gems" section.
Yes, I have. But maybe I'm pointing to the wrong
mysql_config
file; I'm using the one at/usr/bin/mysql_config
.The gem doesn't show up in my bundle, and I get the same error in my browser, after restarting nginx.
The command should provide the right config when 'which mysql_config' is ran as part of it. You may want to submit a support ticket so we can take a direct look.
Submitted... Back-and-forthing now.
The result: after days of support back-and-forth, they told me:
"There is not much we can do to debug the mysql2 gem or therubyracer beyond this point, as we do not provide them or work with them on a regular basis."
That's the end of their support. Has anyone got Rails>3.1 & MySQL to work?