Modified for Capistrano buildpack