Use RVM to install ruby instead of chruby. Also, do everything as the app user