lib/tasks/gae.rake
namespace :gae do
desc 'install fonts'
task :install_fonts do
sh 'apt-get update && apt-get install -y fonts-ipafont-gothic fonts-ipafont-mincho'
end
end
app.yaml
entrypoint: bin/rails gae:install_fonts && bundle exec unicorn --port $PORT