Displaying 5 results from an estimated 5 matches for "mysqlcompat".
2009 Jul 31
43
Error: uninitialized constant MysqlCompat::MysqlRes
...nstalled the "kwatch-mysql-ruby" gem on my Debian server but when I
try to run the "db:migrate" task I get the following error:
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
rake aborted!
uninitialized constant MysqlCompat::MysqlRes
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.3/lib/active_support/dependencies.rb:440:in
`rescue in load_missing_constant''
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.3/lib/active_support/dependencies.rb:436:in
`load_missing_constant''
/usr/local/lib/ru...
2011 Mar 25
1
undefined method `init' for Mysql:Class on Mac with rvm and Passenger 3
...p without luck. I would
not like to use mysql2 gem (it gives an error too) because in
production I have to use mysql gem anyway. I moved to Passenger 3 and
I am not able to run a Rails 2 and a 3 apps. They both uses Passenger
3 (latest) and ree 2011.03.
The Rails 2 app gives uninitialized constant MysqlCompat::MysqlRes
The Rails 3:
NoMethodError
undefined method `init'' for Mysql:Class
Rails.root: /opt/local/apache2/rails-data/apps
Application Trace | Framework Trace | Full Trace
activerecord (3.0.5) lib/active_record/connection_adapters/
mysql_adapter.rb:30:in `mysql_connection''
a...
2009 Oct 01
3
mongrel + mysql can't connect in custom mysql install
...ql does come up and I can connect with the mysql gui tools.
I have ruby and rails installed much the same way (but I see no issues
so far with ruby).
My dev log is as follows (please help!):
/!\ FAILSAFE /!\ 2009-10-01 11:32:44 -0500
Status: 500 Internal Server Error
uninitialized constant MysqlCompat::MysqlRes
/home/t192zcs/ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:440:in
`rescue in load_missing_constant''
/home/t192zcs/ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:436:in
`load_missing_constant'...
2010 Jun 04
0
Error after Updating version of Ubuntu
...few
applications of rails in it. I use Aptana Rad Rails for all my
applications.
Everything was running fine until I updated my Ubuntu.
I upgraded to Ubuntu 10.04 online through update mangager. Then when I
run
rake db:migrate it gives the following error:
"rake aborted!
uninitialized constant MysqlCompat::MysqlRes"
What may be the problem? Please help me....
More over the following versions are installed in my system:
ruby -v ----> 1.8.7 (2010-01-10 patchlevel 249)
rails -v ---> 2.3.5
gem -v -----> 1.3.4
Please reply as soon as possible.
Thank you.
--
Posted via http://www.ruby-f...
2009 Dec 06
5
Using MySQL with Rails
If I want to use MySQL instead of sqlite3 when creating a Rails
application, apart from creating the application with the -d mysql and
configuring the config/database.yml file is there anything else I did
to do/download?
Thanks
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to