I installed ant 1.7.0, ruby 1.8.6 and rake 0.7.3 on excalibur.
One observation was that installing rake was that for me at least (not ever having used ruby before), installing rake was not exactly idiot proof. It took about 15 minutes and several googles to figure out what other random pieces of ruby code I needed to install beyond just ruby and rake. I'm still not 100% sure the installation is correct (I ran the rake test suite and it didn't get a clean pass...results appended).
As long as we're just thinking about rake for using mainly on the regression machines and by core team members for doing heavy testing I think this is ok. We can afford the overhead of helping a few people install this stuff on their machines. f we're going to get to a point where we think "normal" users are going to need to have rake installed, then we're going to have to put some effort into documenting exactly what they need to install (in very precise detail).
rake test results:
[excalibur:/homes/excalibur/dgrove/rake-0.7.3] rake
(in /homes/excalibur/dgrove/rake-0.7.3)
UNABLE TO RUN FUNCTIONAL TESTS
No Session Found
Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader
Started
..........E..................E.......................................................................................................................................................E......................................................................
Finished in 34.572741 seconds.
1) Error:
test_load_rakefile_from_subdir(TestApplication):
Errno::ENOENT: No such file or directory - test/data/unittest/subdir
./test/test_application.rb:68:in `chdir'
./test/test_application.rb:68:in `test_load_rakefile_from_subdir'
2) Error:
test_require(TestApplicationOptions):
LoadError: no such file to load – test/reqfile3
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
./lib/rake.rb:1864:in `do_option'
./lib/rake.rb:1900:in `handle_options'
/usr/local/lib/ruby/1.8/getoptlong.rb:613:in `each'
/usr/local/lib/ruby/1.8/getoptlong.rb:610:in `loop'
/usr/local/lib/ruby/1.8/getoptlong.rb:610:in `each'
./lib/rake.rb:1900:in `handle_options'
./test/test_application.rb:418:in `command_line'
./test/test_application.rb:417:in `instance_eval'
./test/test_application.rb:417:in `command_line'
./test/test_application.rb:405:in `flags'
./test/test_application.rb:405:in `catch'
./test/test_application.rb:405:in `flags'
./test/capture_stdout.rb:11:in `capture_stdout'
./test/test_application.rb:404:in `flags'
./test/test_application.rb:403:in `each'
./test/test_application.rb:403:in `flags'
./test/test_application.rb:319:in `test_require'
3) Error:
test_can_load_rake_library(TestRequire):
LoadError: Can't find test2
./lib/rake.rb:1926:in `rake_require'
./test/test_require.rb:12:in `test_can_load_rake_library'
./test/test_require.rb:11:in `instance_eval'
./test/test_require.rb:11:in `test_can_load_rake_library'
252 tests, 732 assertions, 0 failures, 3 errors
I installed ant 1.7.0, ruby 1.8.6 and rake 0.7.3 on excalibur.
One observation was that installing rake was that for me at least (not ever having used ruby before), installing rake was not exactly idiot proof. It took about 15 minutes and several googles to figure out what other random pieces of ruby code I needed to install beyond just ruby and rake. I'm still not 100% sure the installation is correct (I ran the rake test suite and it didn't get a clean pass...results appended).
As long as we're just thinking about rake for using mainly on the regression machines and by core team members for doing heavy testing I think this is ok. We can afford the overhead of helping a few people install this stuff on their machines. f we're going to get to a point where we think "normal" users are going to need to have rake installed, then we're going to have to put some effort into documenting exactly what they need to install (in very precise detail).
rake test results:
[excalibur:/homes/excalibur/dgrove/rake-0.7.3] rake
(in /homes/excalibur/dgrove/rake-0.7.3)
UNABLE TO RUN FUNCTIONAL TESTS
No Session Found
Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader
Started
..........E..................E.......................................................................................................................................................E......................................................................
Finished in 34.572741 seconds.
1) Error:
test_load_rakefile_from_subdir(TestApplication):
Errno::ENOENT: No such file or directory - test/data/unittest/subdir
./test/test_application.rb:68:in `chdir'
./test/test_application.rb:68:in `test_load_rakefile_from_subdir'
2) Error:
test_require(TestApplicationOptions):
LoadError: no such file to load – test/reqfile3
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
./lib/rake.rb:1864:in `do_option'
./lib/rake.rb:1900:in `handle_options'
/usr/local/lib/ruby/1.8/getoptlong.rb:613:in `each'
/usr/local/lib/ruby/1.8/getoptlong.rb:610:in `loop'
/usr/local/lib/ruby/1.8/getoptlong.rb:610:in `each'
./lib/rake.rb:1900:in `handle_options'
./test/test_application.rb:418:in `command_line'
./test/test_application.rb:417:in `instance_eval'
./test/test_application.rb:417:in `command_line'
./test/test_application.rb:405:in `flags'
./test/test_application.rb:405:in `catch'
./test/test_application.rb:405:in `flags'
./test/capture_stdout.rb:11:in `capture_stdout'
./test/test_application.rb:404:in `flags'
./test/test_application.rb:403:in `each'
./test/test_application.rb:403:in `flags'
./test/test_application.rb:319:in `test_require'
3) Error:
test_can_load_rake_library(TestRequire):
LoadError: Can't find test2
./lib/rake.rb:1926:in `rake_require'
./test/test_require.rb:12:in `test_can_load_rake_library'
./test/test_require.rb:11:in `instance_eval'
./test/test_require.rb:11:in `test_can_load_rake_library'
252 tests, 732 assertions, 0 failures, 3 errors