We want to set up an Openstreetmaps-Server with debian-system. We have everxthing done like it is writen in the Book, installed all packages, configured mysql and on.
Everything worked fine until the command
rake db:migrate
.
Following error message comes up:
The full trace see below.
After that I wanted to install the composite_pimary_keys with the comman
gem install composite_primary_keys
. The following error message comes up:
The activerecord version on the system is up to date. Version 2.2.0 doesn’t exist.
Can someone help me?
Find an older version of comoposite primary keys that support older versions of active records then? I know little about the ruby code setup. They know more on the mailinglist, but this seems like an example of hunt the right version, which is boring but necessary todo.
You can skip Image Magick since it’s only needed for picture generation of traces (search for RMagick in code base).
or you try to install:
Is there a gem for Image magick available? Dunno why it fails you can try looking for those two libraries and see where they are, maybe they got moved around?
Warning I hav eno iea wha the difference between schema versions is, you might be able to change the version with rake migrate. But that’s not within my knowledge…
EDIT This is not so, you need to run osmosis with -0.6 to import with api 0.6 *** EDIT* I’m not sure if you are running the mildly unstable development API (0.6) or the current one… (do a search for “changeset” which is part of 0.6)
I had the same problem and downloaded the source for osmosis and it was fixed (you will need to install JDK and ant and make sure that java is in the path before any another).
I assumed the database schema has moved up a few in the version that can be downloaded from svn but the prebuilt version of osmosis has not kept up.
Just got mine running today and is now rendering the tiles