This file contains hidden or 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
~/development/clients/importal/pinkbox/management |develop: --| $ rake all_tests --trace(in /Users/james/development/clients/importal/pinkbox/management) | |
localgems Gems | |
mkdir -p /Users/james/development/clients/importal/pinkbox/management/etc/localgems/gems | |
livegems Gems | |
mkdir -p /Users/james/development/clients/importal/pinkbox/management/etc/livegems/gems | |
** Invoke all_tests (first_time) | |
** Execute all_tests | |
(in /Users/james/development/clients/importal/pinkbox/management) | |
localgems Gems | |
mkdir -p /Users/james/development/clients/importal/pinkbox/management/etc/localgems/gems |
This file contains hidden or 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
RAILS_ENV=test rake management:db:schema:load --trace(in /Users/james/development/clients/importal/pinkbox/management) | |
localgems Gems | |
mkdir -p /Users/james/development/clients/importal/pinkbox/management/etc/localgems/gems | |
livegems Gems | |
mkdir -p /Users/james/development/clients/importal/pinkbox/management/etc/livegems/gems | |
** Invoke management:db:schema:load (first_time) | |
** Invoke gems (first_time) | |
** Execute gems | |
localgems Gems | |
mkdir -p /Users/james/development/clients/importal/pinkbox/management/etc/localgems/gems |
This file contains hidden or 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
~/development/apps/pinkbox/management |develop: 4989m| $ cd $PINKBOX_ROOT/management ; rake startup --trace | |
rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+) | |
localgems Gems | |
mkdir -p /Users/james/development/apps/pinkbox/management/etc/localgems/gems | |
livegems Gems | |
WARNING: Global access to Rake DSL methods is deprecated. Please include | |
... Rake::DSL into classes and modules which use the Rake DSL methods. | |
WARNING: DSL method Module#mkdir_p called at /Users/james/development/apps/pinkbox/management/dev_util/tasks/rake_helper.rb:96:in `add_gems' | |
mkdir -p /Users/james/development/apps/pinkbox/management/etc/livegems/gems | |
** Invoke startup (first_time) |
This file contains hidden or 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
--- | |
title: RubySlippers, the smartest blogging engine in all of Oz! | |
date: 21/06/2011 | |
tags: announcements | |
I just wanted to shout a quick _hello world_. Nothing more to read here. | |
~ |
This file contains hidden or 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
jokelly@pinkbox:~/development/apps/pinkbox/management$ rake recreate_dbs config:everything_runs_locally | |
(in /home/jokelly/development/apps/pinkbox/management) | |
localgems Gems | |
mkdir -p /home/jokelly/development/apps/pinkbox/management/etc/localgems/gems | |
WARNING: did not load management:db tasks because pinkbox_common gem was not found in | |
jokelly@pinkbox:~/development/apps/pinkbox/management$ |
This file contains hidden or 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
@@config = { | |
:use_adapter => :data_mapper | |
} | |
# Ideally I would like to be able to mix in ActiveRecord or DataMapper | |
# to get a ORM layer. Can't get ActiveRecord to work because it inherits | |
# rather then mixes in | |
class Article | |
This file contains hidden or 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
The MIT License (MIT) | |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEA |
This file contains hidden or 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
task "demo:deploy:prepare" do | |
# run our tests | |
out = `rake test` | |
unless out =~ /0 failures, 0 errors/ | |
raise "Oh Snap! A test seems to have failed! #{out}" | |
end | |
# remove old tag, this can fail and it is ok |
This file contains hidden or 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
if (total_cantilever < ZepCalculationEngine::CONFLICT_ZONE) | |
left_cantilever = (total_cantilever + self.rafter_spacing) / 2 | |
if left_cantilever == 20.55 | |
puts "total cantilever: #{total_cantilever}" | |
puts "left cantilever: #{left_cantilever}" | |
puts "right cantilever: #{right_cantilever}" | |
puts "1st branch" | |
end | |
elsif (total_cantilever > (self.foot_spacing/3)*2) | |
left_cantilever = (total_cantilever - self.rafter_spacing) / 2 |
This file contains hidden or 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
alias contribs='git log | grep Author | sort | uniq' | |
alias csa='cap staging deploy:auto_migrate' | |
alias csd='cap staging deploy' | |
alias csdd='cap staging deploy:do_stuff' | |
alias mt='shopt -s extglob && mate !(@(cache|db|log|tmp|vendor|script))' | |
alias b="bundle" | |
alias bi="b install --path vendor" |