Trying ruby-src instead of rvm.
This version deploys (after two attempts), but 'application' still isn't available.
The application LWRP seems to be working again - except that the bundle isn't installed.
Continuing development in the main branch.