[OSM-dev] Problems with running rake db:migrate

Thomas Babut tbabut at mobileobjects.de
Mon Aug 2 09:46:09 BST 2010


Hi,

I am trying to install an osm server on a Ubuntu 10.04 system and I am
getting the following error message while running rake db:migrate command:

==  AddTimestampIndexes: migrating
============================================
-- add_index(:current_ways, :timestamp,
{:name=>:current_ways_timestamp_idx})
rake aborted!
An error has occurred, all later migrations canceled:

undefined method `length' for :current_ways_timestamp_idx:Symbol

Following gems are installed:

# gem list --local

*** LOCAL GEMS ***

actionmailer (2.3.8, 2.3.5)
actionpack (2.3.8, 2.3.5)
activerecord (2.3.8, 2.3.5)
activeresource (2.3.8, 2.3.5)
activesupport (2.3.8, 2.3.5)
httpclient (2.1.5.2)
libxml-ruby (1.1.4)
mysql (2.8.1)
nokogiri (1.4.3.1)
oauth (0.4.1)
rack (1.1.0, 1.0.1)
rails (2.3.8, 2.3.5)
rake (0.8.7)
rmagick (2.13.1)
sanitize (1.2.1)
SystemTimer (1.2)
timecop (0.3.5)

# mysql --version
mysql  Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (x86_64) using
readline 6.1


What's going wrong? Thanks in advance.

-- 
Mit freundlichen Gruessen / Kind regards,
Thomas Babut



More information about the dev mailing list