# Error after Updating version of Ubuntu

**URL:** <https://www.ruby-forum.com/t/error-after-updating-version-of-ubuntu/189632>\
**Category:** Rails\
**Created:** [June 4, 2010, 9:30am UTC](https://www.ruby-forum.com/t/error-after-updating-version-of-ubuntu/189632 "2010-06-04T09:30:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![crackjack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/da6949/32.png) [@crackjack](https://www.ruby-forum.com/u/crackjack)\
**Post date:** [June 4, 2010, 9:30am UTC](https://www.ruby-forum.com/t/error-after-updating-version-of-ubuntu/189632/1 "2010-06-04T09:30:45Z")

</div>

Hello all.  
I was using Ubuntu 9.10 and ruby on rails with it. I had installed 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.
