Hi Chris,<div>Snap!  A couple of weeks ago I set up the rails code for the first time and did something similar - mine is bundled into a debian package, but all that does is install the ubuntu dependencies for you and run a script similar to yours.</div>
<div>My code is at <a href="https://github.com/jones139/MeraMap">https://github.com/jones139/MeraMap</a> - look at the meramap-api directory, but I think Parveen has started merging it into his main 'meramap' repository which he has developed for his Google Summer of Code project (I forked it to add meramap-api).</div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><div>Maybe we should compare notes to see if there is anything to learn from the different approaches?   I kept getting confused by the rails code having '<a href="http://openstreetmap.org">openstreetmap.org</a>' hard coded into it, so I change it to something else so that I don't start looking at the live OSM site by accident.   I forget what else it does now, because I stopped working on it once I got to the GPX import code, which is what I wanted to test, so it may not have the main api code working properly.   Also un-installing will not be tidy (no effort to remove the database etc.).</div>
<div><br></div><div>Regards</div><div><br></div><div><br>Graham.<br><br><div class="gmail_quote">On 12 September 2011 02:25, Chris Fleming <span dir="ltr"><<a href="mailto:me@chrisfleming.org">me@chrisfleming.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
I was setting up the rails port on a Virtual Machine this evening, and decided to script the process up to help others.<br>
<br>
The script lives at:<br>
<a href="https://github.com/chrisfleming/setup-osm-rails" target="_blank">https://github.com/<u></u>chrisfleming/setup-osm-rails</a><br>
<br>
These is no error handling or checking(for now), but it works for me.<br>
<br>
The process (tested from a clean installed Ubuntu 10.04) is:<br>
git clone git://<a href="http://github.com/chrisfleming/setup-osm-rails.git" target="_blank">github.com/chrisfleming/<u></u>setup-osm-rails.git</a><br>
cd  setup-osm-rails<br>
./install_package.sh<br>
<br>
This will go away and sort everything out. When it's finished if the tests worked then it should all be fine...<br>
<br>
I'm also happy to make the Working VM available if there's interest?<br>
<br>
Cheers<br>
Chris<br>
<br>
-- <br>
e: <a href="mailto:me@chrisfleming.org" target="_blank">me@chrisfleming.org</a><br>
w: <a href="http://www.chrisfleming.org" target="_blank">www.chrisfleming.org</a><br>
<br>
<br>
______________________________<u></u>_________________<br>
rails-dev mailing list<br>
<a href="mailto:rails-dev@openstreetmap.org" target="_blank">rails-dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/rails-dev" target="_blank">http://lists.openstreetmap.<u></u>org/listinfo/rails-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Graham Jones<div>Hartlepool, UK.</div><br>
</div>