[OSM-dev] Error on db:migrate when setting up a rails port

Tom Hughes tom at compton.nu
Thu Jan 5 20:19:59 GMT 2012


On 05/01/12 20:00, Iván Sánchez Ortega wrote:
> On Jueves, 5 de Enero de 2012 19:26:00 Tom Hughes escribió:
>
>> I think I might understand actually - try dropping the 'lib/' prefix
>> from the require and see if that works.
>
> ivan at flatbox:~/devel/rails$ rake --trace db:migrate
> [.....]
> ** Execute db:migrate
> rake aborted!
> An error has occurred, this and all later migrations canceled:
>
> undefined method `native_database_types' for class
> `ActiveRecord::ConnectionAdapters::MysqlAdapter'
> /home/ivan/devel/rails/lib/migrate.rb:46:in `alias_method'

Yes, that's the bug I was talking about... Sounds like the path change 
works though if it is managing to load migrate.rb now.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://compton.nu/



More information about the dev mailing list