<div dir="ltr"><br clear="all"><br>Hi All<br><br>I am trying to replicate the database schema of openstreet map on MySQL server running on Fedora Ver 9. <br>I am almost through to all stages but seems I am not getting the resolution for the last stage where it says rake db: migrate<br>

<br>This was the first error I got:<br><br><br><b><i>Missing the Rails 2.0.2 gem. Please `gem install -v=2.0.2 rails`, update your RA<br>ILS_GEM_VERSION setting in config/environment.rb for the Rails version you do ha<br>
ve installed, or comment out RAILS_GEM_VERSION to use the latest version install<br>
ed.</i></b><br><br><u><b>What i did:</b> <br><br></u>I thought I need to update gems<br><br>So I ran :<br>gem update  --system<br>gem install rails<br><br><br>I think I updated gems from 0.8.5 to 1.3.0<br><br>Now when I try running <br>
rake db :migrate<br>I got some error <i><b>that said  I need to comment out use version 2.0.2 in /config/environments.rb</b></i><br><u><b>Did that<br><br></b></u>Now when I tried running rake db : migrate again<br>It is coming with this error:<br>
<br><b><i>can't activate activerecord (= 2.0.2, runtime), already activated activerecord-2.1.1</i></b><br><br>
rake db:migrate at the root of rails directory. I got a error saying I need to comment out <br><br>I am kind of stuck witht his issue and I a unable to find a resolution. We are making a project for World Vision which can use openstreetmap as theor Geographical Information System.<br>
<br>Any suggestions will be higly appreciated.<br><br>Thanks & Regards<br>Sagar<br><br>
</div>