I found that things are a lot difficult for new contributors (of course, including me ;-) ). The requirements needed to be mentioned along with version, if version matter.
After a lot of time, doing experiments, I can summarise procedure to have a local copy (Correct if something is wrong). Steps to install OSV on your computer (Mine is with Ubuntu 10.10). ================= sudo apt-get update sudo apt-get install rake gem ruby1.8-dev sudo gem install rails -v 2.3.8 git clone git://github.com/johnmckerrell/OpenStreetView.git // or git clone https://github.com/johnmckerrell/OpenStreetView.git cd OpenStreetView joe config/database.yml // Change user and password of MySQL joe config/environment.rb // Change server name from www.openstreetview.org to localhost in line // number 7, in line number 4, make version for RAILS_GEM_VERSION as '2.3.8' rake sudo rake gems:install rake ================= Above give error for OSV, but make RoR works fine and give environment as: Ruby version 1.8.7 (i686-linux) RubyGems version 1.3.7 Rack version 1.1 Rails version 2.3.8 Active Record version 2.3.8 Active Resource version 2.3.8 Action Mailer version 2.3.8 Active Support version 2.3.8 Application root /home/meet/OSV/Rai/RailTest Environment development Database adapter sqlite3 Database schema version 0 =================== But when trying on OpenStreetView, it through error as given below signature. Please help to make it running. What is wring in installation. -- H.S.Rai ================= Error ==================== m...@meet:~/OSV/OpenStreetView$ script/server => Booting WEBrick => Rails 2.3.8 application starting on http://0.0.0.0:3000 /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:105:in `const_missing': uninitialized constant User::Authentication (NameError) from /home/meet/OSV/OpenStreetView/app/models/user.rb:4 from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:380:in `load_without_new_constant_marking' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:380:in `load_file' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:521:in `new_constants_in' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:379:in `load_file' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:259:in `require_or_load' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:425:in `load_missing_constant' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:80:in `const_missing' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:92:in `const_missing' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/inflector.rb:364:in `constantize' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/inflector.rb:363:in `each' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/inflector.rb:363:in `constantize' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/string/inflections.rb:162:in `constantize' from /var/lib/gems/1.8/gems/activerecord-2.3.8/lib/active_record/observer.rb:157:in `observed_class' from /var/lib/gems/1.8/gems/activerecord-2.3.8/lib/active_record/observer.rb:183:in `observed_classes' from /var/lib/gems/1.8/gems/activerecord-2.3.8/lib/active_record/observer.rb:166:in `initialize' from /usr/lib/ruby/1.8/singleton.rb:94:in `new' from /usr/lib/ruby/1.8/singleton.rb:94:in `instance' from /var/lib/gems/1.8/gems/activerecord-2.3.8/lib/active_record/observer.rb:38:in `instantiate_observers' from /var/lib/gems/1.8/gems/activerecord-2.3.8/lib/active_record/observer.rb:36:in `each' from /var/lib/gems/1.8/gems/activerecord-2.3.8/lib/active_record/observer.rb:36:in `instantiate_observers' from /var/lib/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:15:in `define_dispatcher_callbacks' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:182:in `call' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:182:in `evaluate_method' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:166:in `call' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:90:in `run' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:90:in `each' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:90:in `send' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:90:in `run' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:276:in `run_callbacks' from /var/lib/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:51:in `send' from /var/lib/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:51:in `run_prepare_callbacks' from /var/lib/gems/1.8/gems/rails-2.3.8/lib/initializer.rb:631:in `prepare_dispatcher' from /var/lib/gems/1.8/gems/rails-2.3.8/lib/initializer.rb:185:in `process' from /var/lib/gems/1.8/gems/rails-2.3.8/lib/initializer.rb:113:in `send' from /var/lib/gems/1.8/gems/rails-2.3.8/lib/initializer.rb:113:in `run' from /home/meet/OSV/OpenStreetView/config/environment.rb:12 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:156:in `require' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:521:in `new_constants_in' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:156:in `require' from /var/lib/gems/1.8/gems/rails-2.3.8/lib/commands/server.rb:84 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' from script/server:3 m...@meet:~/OSV/OpenStreetView$ _______________________________________________ Photos mailing list [email protected] http://lists.openstreetmap.org/listinfo/photos
