Good news, cap deploy:setup went fine for deploying a new server today .
However, on cap deploy with rails 4.2.7.1, passenger 5.0.30, and Mongodb. I got ruby minimum version error, due to a rack dependency. I haven’t traced where this is coming from yet, as the version of rack with rails doesn’t ask for this.
Error: Could not update: Execution of '/usr/bin/gem install -v 5.0.30 --no-rdoc --no-ri passenger' returned 1: ERROR: Error installing passenger:
** [out :: 162.209.96.162] rack requires Ruby version >= 2.2.2.
** [out :: 162.209.96.162] Error: /Package[passenger]/ensure: change from absent to 5.0.30 failed: Could not update: Execution of '/usr/bin/gem install -v 5.0.30 --no-rdoc --no-ri passenger' returned 1: ERROR: Error installing passenger:
** [out :: 162.209.96.162] rack requires Ruby version >= 2.2.2.