This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudonim:rubbertest/ $ cap rubber:create_staging [10:39:05] | |
triggering load callbacks | |
* executing `rubber:init' | |
* executing `rubber:create_staging' | |
Hostname to use for staging instance [production]: | |
Roles to use for staging instance [web,app,db:primary=true]: | |
* executing `rubber:create' | |
* Security Group already in cloud, syncing rules: foobar_production_haproxy | |
* Security Group already in cloud, syncing rules: foobar_production_mysql_master | |
* Security Group already in cloud, syncing rules: foobar_production_app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dns_provider: zerigo | |
zerigo: | |
customer_id: xxxx | |
email: xxx@xxx.com | |
token: xxxxx | |
type: A | |
ttl: 300 | |
dns_records: | |
- host: "#{(RUBBER_ENV == 'production') ? '' : 'www-' + (RUBBER_ENV || 'default')}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////////// ERROR AT THE END OF: | |
RUBBER_ENV=staging ALIAS=staging ROLES=web,haproxy,app,mysql_master,passenger cap rubber:create | |
///////////////////////////////// | |
* executing "sudo -p 'sudo password: ' sh -c 'echo compat=0 > /etc/ec2-init/is-compat-env'" | |
servers: ["staging.streetappschallenge.com"] | |
[staging.streetappschallenge.com] executing command |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudonim:cp-test/ (master) $ cap rubber:setup_dns_aliases [13:51:29] | |
triggering load callbacks | |
* executing `rubber:init' | |
** Auto role: web => staging.streetappschallenge.com, {:platform=>"linux"} | |
** Auto role: haproxy => staging.streetappschallenge.com, {:platform=>"linux"} | |
** Auto role: app => staging.streetappschallenge.com, {:platform=>"linux"} | |
** Auto role: passenger => staging.streetappschallenge.com, {:platform=>"linux"} | |
** Auto role: apache => staging.streetappschallenge.com, {:platform=>"linux"} | |
** Auto role: mysql_master => staging.streetappschallenge.com, {:platform=>"linux"} | |
** Auto role: db => staging.streetappschallenge.com, {:platform=>"linux", :primary=>true} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudonim:cp-test/ (master✗) $ RUBBER_ENV=staging cap rubber:setup_dns_aliases [17:32:42] | |
triggering load callbacks | |
* executing `rubber:init' | |
** Auto role: web => staging.streetappschallenge.com, {:platform=>"linux"} | |
** Auto role: haproxy => staging.streetappschallenge.com, {:platform=>"linux"} | |
** Auto role: app => staging.streetappschallenge.com, {:platform=>"linux"} | |
** Auto role: passenger => staging.streetappschallenge.com, {:platform=>"linux"} | |
** Auto role: apache => staging.streetappschallenge.com, {:platform=>"linux"} | |
** Auto role: mysql_master => staging.streetappschallenge.com, {:platform=>"linux"} | |
** Auto role: db => staging.streetappschallenge.com, {:platform=>"linux", :primary=>true} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Surround these with : e.g. :calling: | |
+1 | |
-1 | |
bulb | |
calling | |
clap | |
cop | |
feet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ~ brew install macvim | |
==> Downloading https://github.com/b4winckler/macvim/tarball/snapshot-64 | |
File already downloaded in /Users/sudonim/Library/Caches/Homebrew | |
==> ./configure --with-features=huge --with-tlib=ncurses --enable-multibyte --with-macarchs=x86_64 --enable-pe | |
==> make | |
Starting make in the src directory. | |
If there are problems, cd to the src directory and run make there | |
cd src && make first | |
mkdir objects | |
CC="gcc -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe -DMACOS_X_UNIX -no-cpp-precomp -I/System/Library/Frameworks/Tcl.framework/Headers -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_DARWIN_C_SOURCE=1 " srcdir=. sh ./osdef.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ~ brew install redis | |
==> Downloading http://redis.googlecode.com/files/redis-2.4.7.tar.gz | |
File already downloaded in /Users/sudonim/Library/Caches/Homebrew | |
==> make -C src | |
MAKE hiredis | |
CC anet.o | |
CC ae.o | |
CC redis-benchmark.o | |
clang: warning: argument unused during compilation: '-rdynamic' | |
clang: warning: argument unused during compilation: '-ggdb' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem install jekyll | |
Fetching: liquid-2.3.0.gem (100%) | |
Fetching: fast-stemmer-1.0.0.gem (100%) | |
Building native extensions. This could take a while... | |
Fetching: classifier-1.3.3.gem (100%) | |
Fetching: directory_watcher-1.4.1.gem (100%) | |
Fetching: syntax-1.0.0.gem (100%) | |
Fetching: maruku-0.6.0.gem (100%) | |
Fetching: kramdown-0.13.5.gem (155B) | |
ERROR: Error installing jekyll: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install python | |
### Add python to the path so OSX doesn't use system python | |
export PATH="/usr/local/share/python:${PATH}" | |
### Install pip to install pygments | |
easy_install pip | |
pip install --upgrade distribute | |
### Install pygments for syntax highlighting | |
pip install pygments |