nulldb/nulldb — comment on commit fa3487a2eec39096814cc2d27e9a5a68e7562ace
File:  line 0
By jherdman:

FYI this is causing issues in my non-Rails apps that are using NullDB. You may want something like this:

```ruby
NullDB.configure do |ndb|
def ndb.project_root
Rails.root if defined?(:Rails)
end
end
```

Alternatively, and I think this would be preferred, people should be required to `require 'nulldb/rails'` in their app.