use rails 3.0.20 and fix a test bug where a config flag (relative_url_root) wasn't set.
make all tests run for 4.0.0.