updated: get Gemfile path from environment variable "BUNDLE_GEMFILE"

In some of my projects, different names of Gemfile are used, therefore spring cannot work. I updated the code to make it read environment variable "BUNDLE_GEMFILE".