Clean up gemfile and update deps
Add Environment#[]
Add Relation#inject_mapper