@mpapis recommended moving bundle install further down after line 143