I hereby claim:
- I am peregrinator on github.
- I am peregrinator (https://keybase.io/peregrinator) on keybase.
- I have a public key ASBJJcdtTRpMhb3mEZlmKcGidjqDp9xkjQszlIxAY2svago
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
uninitialized constant Paperclip::Glue | |
.rvm/gems/ruby-1.8.7-p330/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:466:in `load_missing_constant' | |
.rvm/gems/ruby-1.8.7-p330/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:106:in `const_missing' | |
.rvm/gems/ruby-1.8.7-p330/gems/paperclip-2.4.5/lib/paperclip/railtie.rb:20:in `insert' | |
.rvm/gems/ruby-1.8.7-p330/gems/paperclip-2.4.5/rails/init.rb:2:in `evaluate_init_rb' | |
.rvm/gems/ruby-1.8.7-p330/gems/rails-2.3.14/lib/rails/plugin.rb:158:in `evaluate_init_rb' | |
.rvm/gems/ruby-1.8.7-p330/gems/activesupport-2.3.14/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings' | |
.rvm/gems/ruby-1.8.7-p330/gems/rails-2.3.14/lib/rails/plugin.rb:154:in `evaluate_init_rb' | |
.rvm/gems/ruby-1.8.7-p330/gems/rails-2.3.14/lib/rails/plugin.rb:48:in `load' | |
.rvm/gems/ruby-1.8.7-p330/gems/rails-2.3.14/lib/rails/plugin/loader.rb:38:in `load_plugins' |
[~/code/other/google_ants_ai/tools]$ ./test_bot.sh 'ruby ../ruby_ant/MyBot.rb' | |
running for 30 turns | |
unexpected: player_seed 42 | |
ant_count c_turns climb? cutoff food r_turn ranking_bots s_alive s_hills score w_turn winning | |
turn 0 stats: [3,1,0] 0 [1,1] - 0 0 None [1,1] [1,1] [3,3] 0 None | |
turn 1 bot 0 invalid actions: | |
w 0 18 # unknown action | |
w 1 0 # unknown action | |
w 1 1 # unknown action | |
w 1 2 # unknown action |
vagrant provision fr2_proxy | |
[fr2_proxy] Provisioning enabled with chef_solo... | |
[fr2_proxy] Running provisioner: Vagrant::Provisioners::ChefSolo... | |
/Users/rburbach/.rvm/gems/ruby-1.8.7-p330/gems/net-ssh-2.1.0/lib/net/ssh/transport/server_version.rb:50:in `negotiate!': connection closed by remote host (Net::SSH::Disconnect) | |
from /Users/rburbach/.rvm/gems/ruby-1.8.7-p330/gems/net-ssh-2.1.0/lib/net/ssh/transport/server_version.rb:45:in `loop' | |
from /Users/rburbach/.rvm/gems/ruby-1.8.7-p330/gems/net-ssh-2.1.0/lib/net/ssh/transport/server_version.rb:45:in `negotiate!' | |
from /Users/rburbach/.rvm/gems/ruby-1.8.7-p330/gems/net-ssh-2.1.0/lib/net/ssh/transport/server_version.rb:43:in `loop' | |
from /Users/rburbach/.rvm/gems/ruby-1.8.7-p330/gems/net-ssh-2.1.0/lib/net/ssh/transport/server_version.rb:43:in `negotiate!' | |
from /Users/rburbach/.rvm/gems/ruby-1.8.7-p330/gems/net-ssh-2.1.0/lib/net/ssh/transport/server_version.rb:32:in `initialize' | |
from /Users/rburbach/.rvm/gems/ruby-1.8.7-p330/gems/net-ssh-2.1.0/lib/net/ssh/tra |
# definition.rb | |
Veewee::Session.declare( { | |
:cpu_count => '1', :memory_size=> '256', | |
:disk_size => '10140', :disk_format => 'VDI',:disk_size => '10240' , | |
:os_type_id => 'Ubuntu', | |
:iso_file => "ubuntu-10.10-server-i386.iso", | |
:iso_src => "http://releases.ubuntu.com/maverick/ubuntu-10.10-server-i386.iso", | |
:iso_md5 => "ce1cee108de737d7492e37069eed538e", | |
:iso_download_timeout => "1000", |
pool "myapp" do | |
cloud "app" do | |
# path to your key here (see setting up ec2 for how to get this) | |
keypair "path_to_server_key.pem" | |
# canonical ubunti ami's use ubuntu user | |
user "ubuntu" | |
image_id "ami-bb709dd2" #Ubuntu 9.10 Karmic Canonical, ubuntu@ | |
# what data center to live in |
cloud :staging_server do | |
# basic settings | |
using :ec2 | |
keypair "path_to_server_key.pem" | |
user "ubuntu" | |
image_id "ami-bb709dd2" #Ubuntu 9.10 Karmic Canonical, ubuntu@ | |
availability_zones ['us-east-1d'] | |
instances 1 | |
instance_type 'm1.small' | |
pool :fr2 do | |
cloud :app_server do | |
# basic settings | |
using :ec2 | |
keypair "govpulse-production1" | |
image_id "ami-bb709dd2" #Ubuntu 9.10 Karmic Canonical, ubuntu@ | |
availability_zones ['us-east-1b'] | |
security_group 'web' | |
instances 1 |
# Original | |
def add_metadata(options={}) | |
options.each_pair do |key, value| | |
unless [:messages, :request_time, :ip, :runtime].include?(key.to_sym) | |
next if value.is_a?(Hash) | |
options.delete(key) | |
info("[MongoLogger : metadata] '#{key}' => '#{value}'") | |
@mongo_record[key] = value | |
else | |
raise ArgumentError, ":#{key} is a reserved key for the mongo logger. Please choose a different key" |
# Rakefile | |
require 'rake' | |
load 'tasks/site.rake' | |
# tasks/site.rake | |
namespace :site do | |
desc "Build css files from .less files" | |
task :less do | |
less_directory = 'less' | |
css_directory = 'css' |