these are executing in the wrong context when using bundler gem hosted in Beanstalk