help!
Just installed clean install of rails (2.3.2), ruby (1.8.7), and mysql
(5.1), and when I try to run “rake db:migrate” on an existing rails
app I get the following error:
undefined method query' for class
Mysql’
help!
Just installed clean install of rails (2.3.2), ruby (1.8.7), and mysql
(5.1), and when I try to run “rake db:migrate” on an existing rails
app I get the following error:
undefined method query' for class
Mysql’
I was able to resolve this issue with this article:
On Tue, Jan 5, 2010 at 4:04 PM, theLemcke [email protected]
wrote:
help!
Just installed clean install of rails (2.3.2), ruby (1.8.7), and mysql
(5.1), and when I try to run “rake db:migrate” on an existing rails
app I get the following error:undefined method
query' for class
Mysql’
First, what platform are you working with? How did you exactly install
‘mysql’? For
example, if you’re using Snow Leopard, did you use MacPorts, Fink, or
other?
Next,
did you properly install the Mysql database adapter:
sudo gem install mysql
-Conrad
ps: When
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs