If after a halt and up vagrant appears to stall at this step...
==> docker: Waiting for HGFS kernel module to load...
run vmware setup and except all defaults and this should saolve the issue.
# update homebrew | |
brew update | |
# install cask (if necessary) | |
brew install caskroom/cask/brew-cask | |
# or update cask | |
brew update cask | |
# create a dev machine that is a copy of the boot2docker image |
AllCops: | |
Excludes: | |
- vendor/** | |
- bin/** | |
- config/puma* | |
Documentation: | |
# don't require classes to be documented | |
Enabled: false |
#!/bin/bash | |
# docker run --rm -t -i -v $(pwd)/.awscreds:/root/.aws alexturek/aws-cli-docker configure | |
alias aws="docker run --rm -t -i -v $(pwd)/.awscreds:/root/.aws alexturek/aws-cli-docker" | |
# vpc name | |
name=Sandbox | |
# query for vpc idvpc |
eventstream: | |
build: . | |
command: tail -f /dev/null | |
volumes: | |
- .:/usr/src/app | |
- ./.ivy2:./root/.ivy2/cache | |
links: | |
- kafka | |
- registry | |
- zookeeper |
#!/usr/bin/env ruby | |
# gem 'pivotal-tracker' | |
require 'pivotal-tracker' | |
TRACKER_TOKEN = "..." | |
TRACKER_PROJECT_ID = "..." | |
PivotalTracker::Client.token = TRACKER_TOKEN | |
PivotalTracker::Client.use_ssl = true |
There is an issue related to running Resque on Heroku and Resque's ability to clean it's state information for workers. This is mostly a cosmetic issue however we got to a point where the Resque Dashboard would timeout because it was trying to display hundreds of workers it thought were sitll running.
This is a heavy handed approach to cleaning up. We are finding any worker that was stared longer than a day ago and manually calling the unregister
method. Be advised this will throw DirtyExit errors.
# **** grab a reference to the redis instance **** | |
redis = RuoteKit.dashboard.storage.redis;nil | |
# **** delete all errors **** | |
redis.del(redis.keys('*errors*')) | |
# **** delete all expressions and workitems from march 2013 **** | |
redis.del(redis.keys('expressions*201303*')) | |
redis.del(redis.keys('workitems*201303*')) |