Hi. Sorry to pepper the list with questions, but I think these are things
people trying to set up gitorious are likely to encounter.
I got the databases created and setup for production, development and test
environments.
Then I try to run the tests: bundle exec rake test
I get three stack-traces, one for each of the sets of tests (unit,
functional and integration). They all look similar. Here's the trace for
the unit tests failure:
test/unit/message_thread_test.rb:18:in `require': cannot load such file --
test/unit/../test_helper (LoadError)
from test/unit/message_thread_test.rb:18:in `<top (required)>'
from
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in
`load'
from
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in
`block in <main>'
from
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in
`each'
from
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in
`<main>'
The file $GITHOME/test/test_helper.rb is *definitely* there. All
directories/files are owned by git:nogroup. I am running bundle as root.
I tried playing with the path and filename, but it seems fine. I'm
thinking this might be obvious to a ruby user.
Any ideas?
Platform is Ubuntu 12.04
# ruby --version
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
# bundle --version
Bundler version 1.1.5
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]