This note will walk you though setting up and securing a Ubuntu 10.04 LTS then deploying a Rails application with mulit-stage deployment.
TODO:
- Add section for NGINX setup
sudo aptitude install apache2 apache2-prefork-dev autoconf bison build-essential \ clang curl dnsutils git-core imagemagick libc6-dev libcurl4-openssl-dev libffi-dev \ libmagickwand-dev libmysqlclient16 libmysqlclient16-dev libreadline6-dev libsqlite3-0 \ libsqlite3-dev libssl-dev libxml2 libxml2-dev libxslt-dev libxslt1.1 libxslt1-dev \ libyaml-dev mysql-client mysql-server openssl sqlite3 wget zlib1g zlib1g-dev
module BoxView | |
class SessionError < StandardError; end | |
class GetError < StandardError; end | |
class RetryError < StandardError | |
attr_reader :retry_after | |
def initialize(retry_after) | |
@retry_after = retry_after | |
end |