View vps.md

Server Commands

apt-get -y update
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties

# nginx
add-apt-repository ppa:nginx/stable
apt-get -y update
apt-get -y install nginx
View installMongo.sh
1 2 3 4 5 6 7 8 9 10
#!/usr/bin/env bash
#
# Compile and install MongoDB with SSL support
# tested an works on Ubuntu 12.04 LTS x64 and Ubuntu 14.04 LTS x64
#
 
 
set -e
set -u
set -o pipefail
View callback_bug.rb
1 2 3 4 5 6 7 8 9 10
require 'active_record'
require 'logger'
 
ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:')
 
ActiveRecord::Schema.define do
create_table :users do
end
 
create_table :user_groups do |t|
Something went wrong with that request. Please try again.