RoR:OSV: Installation issue

I am trying to get a local installation of OpenStreetView, on Ubuntu
10.10

On installing Rails (2.3.8) and OSV code using git, when I issue
“rake” command, I get response, which is reproduced below signature.
What is missing from my installation?


.O.C.

$ rake
(in /home/meet/OSV/OpenStreetView)
/usr/bin/ruby1.8 -I"lib:test" “/var/lib/gems/1.8/gems/rake-0.8.7/lib/
rake/rake_test_loader.rb” “test/functional/
moderate_controller_test.rb” “test/functional/
private_controller_test.rb” “test/functional/main_controller_test.rb”
“test/functional/sessions_controller_test.rb” “test/functional/
upload_controller_test.rb” “test/functional/users_controller_test.rb”
“test/functional/api/photo_controller_test.rb” “test/functional/api/
photos_controller_test.rb” “test/functional/api/
application_controller_test.rb” “test/functional/
content_controller_test.rb” “test/functional/
homepage_controller_test.rb”
/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 /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:ingem_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:158:inrequire’
from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/
dependencies.rb:265:in require_or_load' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/ dependencies.rb:425:inload_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:inconst_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:ineach’
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:inconstantize’
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:inobserved_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:innew’
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:ininstantiate_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:ininstantiate_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:incall’
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:incall’
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:ineach’
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:inrun’
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:insend’
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:inprepare_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:insend’
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 ./test/test_helper.rb:2:inrequire’
from ./test/test_helper.rb:2
from ./test/functional/moderate_controller_test.rb:1:in require' from ./test/functional/moderate_controller_test.rb:1 from /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb: 5:inload’
from /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5
from /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:
5:in `each’
from /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5
/usr/bin/ruby1.8 -I"lib:test" “/var/lib/gems/1.8/gems/rake-0.8.7/lib/
rake/rake_test_loader.rb”
Errors running test:units and test:functionals!
[email protected]:~/OSV/OpenStreetView$

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs