Problem with Rails 2.2 and Rake db:migrate

Hello,

I have a problem when I execute

rake db:migrate
(in /Users/miguelati/Proyectos/Proyectos Ruby/foro)
rake aborted!
can’t convert Fixnum into String

With trace:

** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
rake aborted!
can’t convert Fixnum into String
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/
connection_adapters/mysql_adapter.rb:292:in change_user' /Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/ connection_adapters/mysql_adapter.rb:292:inreset!’
/Users/miguelati/.gem/ruby/1.8/gems/activesupport-2.2.0/lib/
active_support/callbacks.rb:178:in send' /Users/miguelati/.gem/ruby/1.8/gems/activesupport-2.2.0/lib/ active_support/callbacks.rb:178:inevaluate_method’
/Users/miguelati/.gem/ruby/1.8/gems/activesupport-2.2.0/lib/
active_support/callbacks.rb:166:in call' /Users/miguelati/.gem/ruby/1.8/gems/activesupport-2.2.0/lib/ active_support/callbacks.rb:90:inrun’
/Users/miguelati/.gem/ruby/1.8/gems/activesupport-2.2.0/lib/
active_support/callbacks.rb:90:in each' /Users/miguelati/.gem/ruby/1.8/gems/activesupport-2.2.0/lib/ active_support/callbacks.rb:90:insend’
/Users/miguelati/.gem/ruby/1.8/gems/activesupport-2.2.0/lib/
active_support/callbacks.rb:90:in run' /Users/miguelati/.gem/ruby/1.8/gems/activesupport-2.2.0/lib/ active_support/callbacks.rb:277:inrun_callbacks’
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/
connection_adapters/abstract/connection_pool.rb:249:in
checkout_and_verify' /Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/ connection_adapters/abstract/connection_pool.rb:239:incheckout_new_connection’
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/
connection_adapters/abstract/connection_pool.rb:180:in checkout' /Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/ connection_adapters/abstract/connection_pool.rb:176:inloop’
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/
connection_adapters/abstract/connection_pool.rb:176:in checkout' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/monitor.rb:242:insynchronize’
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/
connection_adapters/abstract/connection_pool.rb:175:in checkout' /Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/ connection_adapters/abstract/connection_pool.rb:90:inconnection’
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/
connection_adapters/abstract/connection_pool.rb:321:in
retrieve_connection' /Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/ connection_adapters/abstract/connection_specification.rb:121:inretrieve_connection’
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/
connection_adapters/abstract/connection_specification.rb:113:in
connection' /Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/ migration.rb:429:ininitialize’
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/
migration.rb:394:in new' /Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/ migration.rb:394:inup’
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/
migration.rb:377:in migrate' /Library/Ruby/Gems/1.8/gems/rails-2.2.0/lib/tasks/databases.rake:111 /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:617:incall’
/Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:617:in
execute' /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:612:ineach’
/Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:612:in
execute' /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:578:ininvoke_with_call_chain’
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
1.8/monitor.rb:242:in synchronize' /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:571:ininvoke_with_call_chain’
/Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:564:in
invoke' /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:2019:ininvoke_task’
/Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in
top_level' /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:1997:ineach’
/Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in
top_level' /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:2036:instandard_exception_handling’
/Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in
top_level' /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:1970:inrun’
/Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in
standard_exception_handling' /Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:1967:inrun’
/Users/miguelati/.gem/ruby/1.8/gems/rake-0.8.3/bin/rake:31
/usr/bin/rake:19:in `load’
/usr/bin/rake:19

This error is only with 2.2, with 2.1.2 works fine.