rake = Rake.application rake.init # you can import addition *.rake files # app.add_import 'some/other/file.rake' rake.load_rakefile rake['db:test:prepare...

wiki

All examples here for deploy RoR application with unicorn, staging machine (where we deploys) available via ssh by ssh_key...

wiki

Assume your database.yml file looks like this: {: .yaml} development: adapter: postgresql host: localhost encoding: unicode database: proj_development