Error reverse engineering MySQL with RMRE

Hi

I am been trying in vain to auto-gen models by reverse-engineering mysql using RMRE. It complains mysql2 gem missing but as seen in my Rails environment below, it is there.

Here's my Rails environment and RMRE error. Experts... please help! Thanks a ton in advance!!

Hi

I am been trying in vain to auto-gen models by reverse-engineering mysql using RMRE. It complains mysql2 gem missing but as seen in my Rails environment below, it is there.

Here's my Rails environment and RMRE error. Experts... please help! Thanks a ton in advance!!

=== Ruby version 1.9.2 (x86_64-linux) RubyGems version 1.3.7 Rack version 1.2 Rails version 3.0.3 Active Record version 3.0.1

I don't know whether it is of any relevance, but your ActiveRecord version here is out of date, though the one in the trace below is 3.0.3. The format does not seem to be from gem list or from your Gemfile.lock. Is there another way of displaying gem versions?

Colin

Instead of mysql adapter you should use mysql2:

rmre -a mysql2 -d test -u root

Regards, Boško Ivanišević