Skip to content

Instantly share code, notes, and snippets.

@johnantoni
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnantoni/9261013 to your computer and use it in GitHub Desktop.
Save johnantoni/9261013 to your computer and use it in GitHub Desktop.
errbit install guide

errbit-docs

install guide/script for errbit

prep

ssh root@ip-address
apt-get update
apt-get upgrade
apt-get install libxml2 libxml2-dev libxslt-dev libcurl4-openssl-dev
apt-get install nginx lynx wget curl build-essential aptitude git-core
apt-get install libreadline-dev

install ruby from source

cd
wget http://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0.tar.gz
tar -xzvf ruby-2.1.0.tar.gz
cd ruby-2.1.0/
./configure
make
sudo make install
ruby -v

set gem docs

echo "gem: --no-ri --no-rdoc" > ~/.gemrc

set locale

apt-get install language-pack-en-base
dpkg-reconfigure locales
...select en_CA.UTF-8

setup deployer + add sudo options

adduser deployer
visudo

setup deploy dirs

su deployer
cd ~
mkdir apps
mkdir apps/errbit

deploy locally to server

cap deploy:check
cap deploy:setup
cap deploy

copy over configs & yml files to ~/apps/errbit/shared/config

notes

bad gems

bundle update debugger-linecache
bundle update libv8

missing libs when deploying to ubuntu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment