replace gemfile loading method with Bundler's lockfile parser