[OSM-newbies] rake db:migrate error message

Bernardo Elayda belayda at gmail.com
Sun Dec 14 23:52:08 GMT 2008


Hi,

I'm running into an error problem when I'm trying to setup OSM.

(1)
I've reached the point where I'm supposed to run:

rake db:migrate

which I'm running from inside the top-level directory of my OSM rails
installation.  When I run the command, I get the following:

~/Projects/rails_port$ <captain@~/Projects/rails_port$> rake db:migrate
(in /home/captain/Projects/rails_port)
rake aborted!
wrong number of arguments (0 for 1)

(2)
If I turn on --trace, I get the following additional info:

~/Projects/rails_port$ <captain@~/Projects/rails_port$> rake db:migrate
--trace
(in /home/captain/Projects/rails_port)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
wrong number of arguments (0 for 1)
/home/captain/Projects/rails_port/config/initializers/libxml.rb:5:in
`register_error_handler'

(3)
If I run the instructions in libxml.rb in irb, things fail at:
LibXML::XML::Parser.register_error_handler


What am I doing wrong?  Have I skipped a step?

My environment is as follows:

Ubuntu 8.04
Ruby v1.8.7
RoR 2.0.2
mysql 5.0.51a
OSM Rails port was checked out by: svn co
http://svn.openstreetmap.org/sites/rails_port

tia,
Bernie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/newbies/attachments/20081214/0e2690a8/attachment.html>


More information about the newbies mailing list