Fixes memory error on bundle install under production