set BUNDLE_GEMFILE env variable, if required.