Hi, The problem under 1.8 seems missing 'require "rubygems"' on top of 'test_helper.rb'. Adding that solved this problem.
I applied David patches on top of my patches + added the EC2 front-end patches. Everything seems to play nicely together though now it is more than 20 patches ;-) (I know I promised not send patch-bombs anymore). To make it more easy to review, I compressed them into tar archive you found attached to this email. David: Can we just commit what we have now, even it is not ideal in terms of recording credentials and then fix it later? -- Michal Michal Fojtik http://deltacloud.org [email protected] On Jul 27, 2012, at 12:55 AM, David Lutterkort wrote: > On Thu, 2012-07-26 at 16:20 +0200, [email protected] wrote: >> From: Michal Fojtik <[email protected]> >> >> >> Signed-off-by: Michal fojtik <[email protected]> >> --- >> server/tests/ec2/common.rb | 19 +++++++ >> server/tests/ec2/query_parser_test.rb | 97 >> +++++++++++++++++++++++++++++++++ >> server/tests/ec2/server_test.rb | 44 +++++++++++++++ >> 3 files changed, 160 insertions(+) >> create mode 100644 server/tests/ec2/common.rb >> create mode 100644 server/tests/ec2/query_parser_test.rb >> create mode 100644 server/tests/ec2/server_test.rb > > Both 'rake test' and 'bundle exec rake test' give me > > ./tests/test_helper.rb:2:in `require': no such file to load -- > rack/test (LoadError) > from ./tests/test_helper.rb:2 > rake aborted! > Command failed with status (1): [/usr/bin/ruby -I"lib" > -r./tests/test_helpe...] > > Tasks: TOP => test > (See full trace by running task with --trace) > > > David > >
