Capistrano fix for Rails 4