Yes, I've seen your email, unfortunately I can't think of what might be wrong, I've also googled but not found anything that relates. I'll let you know if I think of anything useful.
John On 24 Oct 2010, at 15:17, Amrit Pal wrote: > Awaiting your reply john > > From: John McKerrell <[email protected]> > To: Amrit Pal <[email protected]> > Cc: open strret view mailing list <[email protected]> > Sent: Sat, October 23, 2010 10:06:01 AM > Subject: Re: [OSM-Photos] Suggesstion about photos at openstreetview.org > > Not sure why it's saying "no such file to load". Do you have this file; > > OpenStreetView/config/boot.rb > > It's in git so should be present: > > > http://github.com/johnmckerrell/OpenStreetView/blob/master/config/boot.rb > > You will need to config the database by editing > OpenStreetView/config/database.yml to get the site working properly but I > would have thought the server would run whether you'd done this or not. > > John > > On 23 Oct 2010, at 12:33, Amrit Pal wrote: > >> >> When i create the rails application as >> "rails new blog" >> cd blog >> script/server >> gives the error >> bash: script/server: No such file or directory >> >> Again i tried ruby scirpt/server gives the error >> ruby: No such file or directory -- script/server (LoadError) >> But when i typed "rails server" ,the server gets starts >> >> Now i can access "localhost:3000"(welcome page) >> >> As you said for starting openstreetview at localhost i did as >> >> cd OpenStreetView >> script/server gives >> the error >> >> <internal:lib/rubygems/custom_require>:29:in `require': >> no such file to load -- script/../config/boot (LoadError) >> from <internal:lib/rubygems/custom_require>:29:in `require' >> from script/server:2:in `<main>' >> >> >> >> what is this problem?is there any setting to do? >> >> >> 1)rails -v=Rails 3.0.1 >> 2)gem -v=1.3.7 >> 3)ruby -v=1.9.2p0 >> >> >> >> Thanks for co-operation >> >> >> >> >> >> >> From: John McKerrell <[email protected]> >> To: Amrit Pal <[email protected]> >> Cc: open strret view mailing list <[email protected]> >> Sent: Fri, October 22, 2010 11:26:30 AM >> Subject: Re: [OSM-Photos] Suggesstion about photos at openstreetview.org >> >> Congratulations on getting Rails installed. Generally when in development >> you will launch a new web server per-site. If you have something running on >> localhost:3000 it's likely that you have done a command such as "rails >> myapp" and it has created a "myapp" directory. In there you have then done >> "script/server" to start the server. To run OpenStreetView you simple need >> to go to your OpenStreetView directory and perform "script/server" from >> there. You will need to stop any Rails servers that you have currently >> running or use "script/server -p 3010" to run on port 3010 (or use whichever >> port > 1024 that you prefer). >> >> John >> >> On 22 Oct 2010, at 11:31, Amrit Pal wrote: >> >>> i can post the code but i wont.because i want to get a experience to work >>> on openstreetview >>> Well,after a lot problems ,i have install rubyonrails ,now i can access the >>> http://localhost:3000/ >>> >>> Also i have the source code of site openstreetview,please suggest me how to >>> run this code at localhost >>> >>> Thanks >>> >>> >>> From: John McKerrell <[email protected]> >>> To: Amrit Pal <[email protected]> >>> Cc: open strret view mailing list <[email protected]> >>> Sent: Tue, October 19, 2010 8:24:06 AM >>> Subject: Re: [OSM-Photos] Suggesstion about photos at openstreetview.org >>> >>> "You just tell me how to run this source code(Openstreetview) on the >>> localhost " >>> >>> This is what I'm trying to do. Obviously there are issues getting rails, >>> and therefore OpenStreetView, working on your computer and debugging it by >>> email is not working. >>> >>> In your first email you said "i have made a html +javascript code for >>> this.. and run it at local host... ". Is it possible for you to just post >>> the code that you had already written and it may be easiest if I just >>> incorporate it when I get time? >>> >>> John >>> >>> On 18 Oct 2010, at 15:59, Amrit Pal wrote: >>> >>>> i have got the source code of Open Street view at >>>> /home/administrator/sourcecode and have installed all the rubyonrail >>>> package,but dont know how to run this source code. >>>> >>>> Link at http://old.nabble.com/Rake-Error-td20525850.html didn't work >>>> for me.You just tell me how to run this source code(Openstreetview) on the >>>> localhost >>>> >>>> Thanks >>>> >>>> >>>> >>>> >>>> >>>> From: John McKerrell <[email protected]> >>>> To: Amrit Pal <[email protected]> >>>> Cc: [email protected] >>>> Sent: Sun, October 17, 2010 6:07:19 AM >>>> Subject: Re: [OSM-Photos] Suggesstion about photos at openstreetview.org >>>> >>>> Hm.. not too sure what that would be but I've googled the error and found >>>> this, are you having similar issues to them? >>>> >>>> http://old.nabble.com/Rake-Error-td20525850.html >>>> >>>> John >>>> >>>> On 17 Oct 2010, at 10:44, Amrit Pal wrote: >>>> >>>>> YES ,i tried it,it gave the following message >>>>> >>>>> administra...@ubuntu:~$ rake db:migrate >>>>> /usr/bin/rake:27:in `require': no such file to load -- rake (LoadError) >>>>> from /usr/bin/rake:27 >>>>> administra...@ubuntu:~$ >>>>> >>>>> >>>>> >>>>> >>>>> From: John McKerrell <[email protected]> >>>>> To: Amrit Pal <[email protected]> >>>>> Cc: [email protected] >>>>> Sent: Sun, October 17, 2010 5:34:51 AM >>>>> Subject: Re: [OSM-Photos] Suggesstion about photos at openstreetview.org >>>>> >>>>> Have you run the following command? >>>>> rake db:migrate >>>>> >>>>> That will prepare your database for use. >>>>> >>>>> John >>>>> >>>>> On 17 Oct 2010, at 09:47, Amrit Pal wrote: >>>>> >>>>>> ok.i understand. >>>>>> After spending so much time on rails on ruby,still am >>>>>> unable to run the sourcecode of openstreetview on rails server, >>>>>> localhost:3000 not working,i have followed no of sites,blogs; >>>>>> is there any database problem? >>>>>> This the code of database.yml file >>>>>> >>>>>> # SQLite version 3.x >>>>>> # gem install sqlite3-ruby (not necessary on OS X Leopard) >>>>>> development: >>>>>> adapter: sqlite3 >>>>>> database: db/development.sqlite3 >>>>>> pool: 5 >>>>>> timeout: 5000 >>>>>> >>>>>> >>>>>> # Warning: The database defined as "test" will be erased and >>>>>> # re-generated from your development database when you run "rake". >>>>>> # Do not set this db to the same as development or production. >>>>>> test: >>>>>> adapter: mysql >>>>>> database: railsdbb >>>>>> username:root >>>>>> password:12345 >>>>>> host:localhost >>>>>> >>>>>> production: >>>>>> adapter: mysql >>>>>> database: railsdbb >>>>>> username:root >>>>>> password:12345 >>>>>> host:localhost >>>>>> >>>>>> >>>>>> Is there everything ok with this.? >>>>>> i have installed ruby,rails,gem,mysql; >>>>>> >>>>>> Thanks >>>>>> Waiting reply >>>>>> >>>>>> From: John McKerrell <[email protected]> >>>>>> To: Amrit Pal <[email protected]> >>>>>> Cc: [email protected] >>>>>> Sent: Sat, October 16, 2010 9:33:53 AM >>>>>> Subject: Re: [OSM-Photos] Suggesstion about photos at openstreetview.org >>>>>> >>>>>> Hi >>>>>> >>>>>> I'm well aware that you're sending many emails to me and to the list, >>>>>> about 12 since I last responded. I'm very sorry that no-one has time to >>>>>> respond. You have to realise that people reply when they have time to >>>>>> and when they're by their computers. You're also asking for full >>>>>> instructions on how to begin working with Ruby on Rails. Please try >>>>>> looking at the documentation on the rails website and then when I or >>>>>> anyone else on this list has time we will happily respond. Here's a >>>>>> section of the website that has guides: >>>>>> >>>>>> http://guides.rubyonrails.org/ >>>>>> >>>>>> John >>>>>> >>>>>> On 16 Oct 2010, at 13:34, Amrit Pal wrote: >>>>>> >>>>>>> >>>>>>> Thanks for reply >>>>>>> >>>>>>> After the command entered from terminal as you wrote >>>>>>> git clone >>>>>>> [email protected]:amritpalpathak/OpenStreetView.git >>>>>>> >>>>>>> 1) I got the OpenStreetview(it has >>>>>>> its own files & folders) directory in my home directory (is it the >>>>>>> source code of the side)? >>>>>>> >>>>>>> 2) I also install the >>>>>>> mysql,rubyonrails on my computer.Now tell me how to use this source >>>>>>> code and run it on rubyonrail,so that i can make the changes; ?? >>>>>>> >>>>>>> Thanks for supporting ,this is mine >>>>>>> first project thats why i am getting basic problems >>>>>>> >>>>>>> Thanks for all replies; >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >>> >>> >> >> >> > > >
_______________________________________________ Photos mailing list [email protected] http://lists.openstreetmap.org/listinfo/photos
