Respect BUNDLE_GEMFILE
Fixes for Rails 4