Yes I replied on the 3rd half an hour after you first sent this. OpenStreetView 
uses Rails 2.3.8, not 3 so you will need to install the older version. I think 
this should do that for you:
        gem install rails -v 2.3.8

John

On 5 Nov 2010, at 07:39, Amrit Pal wrote:

> I am again telling  the specification of all the installations and also about 
> the problem occurance.
> 
> 
> I have following versions
> ruby=>ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux]
> rails=>3.0.1
> gem=>1.3.7
> 
>   i create the rails application as "rails new blog" and then did  as "cd 
> blog" and then i start the server as "rails server" and i gave the following 
> output 
> 
> 
> 
> 
> 
>                                                          => Booting WEBrick
> => Rails 3.0.1 application starting in development on http://0.0.0.0:3000
> => Call with -d to detach
> => Ctrl-C to shutdown server
> [2010-11-03 12:56:36] INFO  WEBrick 1.3.1
> [2010-11-03 12:56:36] INFO  ruby 1.9.2 (2010-08-18) [i686-linux]
> [2010-11-03 12:56:36] INFO  WEBrick::HTTPServer#start: pid=1783 port=3000
> 
> 
>                       Now i can access "localhost:3000",
> 
>                                                                               
>                   
> 
> 
> 
> 
> 
>                                                                               
>                      Then i download the source code of OPenstreetview.org 
> that is rails application . i did "cd OpenStreetView" and the "rails server" 
> but  i am unable to start the server here,i got the following error
> 
>             
>   
> Usage:
>   rails new APP_PATH [options]
> 
> Options:
>   -r, [--ruby=PATH]           # Path to the Ruby binary of your choice
>                               # Default: /usr/local/bin/ruby
>   -d, [--database=DATABASE]   # Preconfigure for selected database (options: 
> mysql/oracle/postgresql/sqlite3/frontbase/ibm_db)
>                               # Default: sqlite3
>   -b, [--builder=BUILDER]     # Path to an application builder (can be a 
> filesystem path or URL)
>   -m, [--template=TEMPLATE]   # Path to an application template (can be a 
> filesystem path or URL)
>       [--dev]                 # Setup the application with Gemfile pointing 
> to your Rails checkout
>       [--edge]                # Setup the application with Gemfile pointing 
> to Rails repository
>       [--skip-gemfile]        # Don't create a Gemfile
>   -O, [--skip-active-record]  # Skip Active Record files
>   -T, [--skip-test-unit]      # Skip Test::Unit files
>   -J, [--skip-prototype]      # Skip Prototype files
>   -G, [--skip-git]            # Skip Git ignores and keeps
> 
> Runtime options:
>   -f, [--force]    # Overwrite files that already exist
>   -p, [--pretend]  # Run but do not make any changes
>   -q, [--quiet]    # Supress status output
>   -s, [--skip]     # Skip files that already exist
> 
> Rails options:
>   -v, [--version]  # Show Rails version number and quit
>   -h, [--help]     # Show this help message and quit
> 
> Description:
>     The 'rails new' command creates a new Rails application with a default
>     directory structure and configuration at the path you specify.
> 
> Example:
>     rails new ~/Code/Ruby/weblog
> 
>     This generates a skeletal Rails installation in ~/Code/Ruby/weblog.
>     See the README in the newly created application to get going.
> 
> 
> 
>                             Why i am unable to start the server from 
> directory of source code  of the website??
> 
> 
> Thanks in advance
> 
> 
> 
> 

_______________________________________________
Photos mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/photos

Reply via email to