rails/rails — Issue #3504: Journey cannot be loaded when running tests
Author: dvyjones
Created: 2011-11-03 19:42:11+00:00
State: open

When I run `rake test` on edge rails I get a bunch of errors like these:

```
test_cart_inspect(ApplicationTests::RouteInspectTest):
LoadError: cannot load such file -- journey
/Users/dvyjones/projects/rails/actionpack/lib/action_dispatch/routing/route_set.rb:1:in `'
test/application/route_inspect_test.rb:8:in `setup'
```

I tried printing the load path just before `require 'journey'` in route_set.rb, and `$(bundle show journey)/lib` is included.

## Steps to reproduce

1. `git clone git://github.com/rails/rails.git`
2. Go have dinner (unless you have crazy-fast internets).
3. `bundle install --wihout db`
4. `rake test`
5. Grab a cup of coffee.
6. Error should be on screen.

`ruby -v`: `ruby 1.9.3p0 (2011-10-30) [x86_64-darwin11.2.0]`
`git rev-parse HEAD`: `d486103570bf680307ba474915efc01862e99403`