```ruby
$LOAD_PATH << File.dirname(__FILE__)

require 'bundler/setup'
require 'yaml'
require 'mongoid'
require 'mongoid-pagination'

require 'app/models/restaurant'
require 'lib/restaurant_presenter'

root_dir = File.dirname(__FILE__)

Mongoid.logger = false
Mongoid.load!(File.join(root_dir, 'config', 'mongoid.yml'))```

Set rack env to dev by default
user
```ruby
ENV['RACK_ENV'] ||= 'development'

$LOAD_PATH << File.dirname(__FILE__)

require 'bundler/setup'
require 'yaml'
require 'mongoid'
require 'mongoid-pagination'

require 'app/models/restaurant'
require 'lib/restaurant_presenter'

root_dir = File.dirname(__FILE__)

Mongoid.logger = false
Mongoid.load!(File.join(root_dir, 'config', 'mongoid.yml'))```
assistant