This tutorial is about setting up environment for RubyOnRails on Ubuntu 14.04. First of all, update & upgrade your system:
askubuntu.com
If you getting messages like this: perl: warning: Setting locale failed. in your console, then you must configure your locales...
rtfm.co.ua
Download build agent archive from your TeamCity server: wget http://your_teamcity.server.com:8111/update/buildAgent.zip Unzip it in separate directory: mkdir buildAgent ^
All examples here for deploy RoR application with unicorn, staging machine (where we deploys) available via ssh by ssh_key...
Assume your database.yml file looks like this: {: .yaml} development: adapter: postgresql host: localhost encoding: unicode database: proj_development