Skip to content

Instantly share code, notes, and snippets.

(in /Users/tomtt/created/projects/externals/rails_versions/2-3-stable)
(in /Users/tomtt/created/projects/externals/rails_versions/2-3-stable/activesupport)
Loaded suite /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
.............E.................................................................E...............EEEEE.EEE...........................................................EE.....E.......E......E...................EE.......EE........EE........EE.........................................................................................................EEEE.....................................E..........................................................................................E.....................................................................................................................................................................................................................E........................................................................................
>: ls -ld /Library
drwxrwxr-x+ 56 root admin 1904 22 Jun 18:00 /Library/
>: ls -ld /Library/WebServer
drwxrwxr-x 5 root admin 170 31 Jan 2009 /Library/WebServer/
>: ls -ld /Library/WebServer/Documents
drwxrwxr-x 35 root admin 1190 29 May 11:47 /Library/WebServer/Documents/
>: ls -ld /Library/WebServer/Documents/index.html.en
-rw-rw-r-- 1 root admin 1456 16 Oct 2008 /Library/WebServer/Documents/index.html.en
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
@tomtt
tomtt / sdfsd
Created October 30, 2009 10:12
** loading stage recipe 'Create Database.yml'
** loading stage recipe 'Migrate'
** loading stage recipe 'Create FiveHeroConfig.yml'
** loading stage recipe 'Link persistent asset storage'
** loading stage recipe 'Maintenance Page'
** loading stage recipe 'Set repository path'
** loading stage recipe 'Append Repository Path'
** loading stage recipe 'Create SSO.yml'
** loading stage recipe 'Link Beard'
** loading stage recipe 'Create newrelic.yml'
>: RAILS_ENV=production rake gems:unpack --trace
(in /Users/username/created/projects/myproject/myproject)
** Invoke gems:unpack (first_time)
** Invoke gems:install (first_time)
** Invoke gems:base (first_time)
** Execute gems:base
** Invoke environment (first_time)
** Execute environment
rake aborted!
undefined method `map' for nil:NilClass
# Be sure to restart your web server when you modify this file.
# Specifies gem version of Rails to use when vendor/rails is not present
RAILS_GEM_VERSION = '1.2.6' unless defined? RAILS_GEM_VERSION
require 'rubygems'
require 'digest/sha1'
require 'pdf/writer'
require 'pdf/simpletable'
require 'RMagick'
>: rake gems:unpack --trace
(in /Users/tomtt/created/projects/osgood/osgood)
** Invoke gems:unpack (first_time)
** Invoke gems:install (first_time)
** Invoke gems:base (first_time)
** Execute gems:base
** Invoke environment (first_time)
** Execute environment
rake aborted!
undefined method `map' for nil:NilClass
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
describe "puts" do
it "should print hello world" do
Kernel.should_receive(:puts).with("hello world")
puts "hello world"
end
end
@tomtt
tomtt / sfds
Created January 20, 2010 02:10
Factory.define :user do |u|
u.sequence(:email) {|n| "user#{n}@example.com" }
u.password 'secret01'
u.password_confirmation 'secret01'
end
Factory.define :registered_user, :parent => :user do |u|
u.registered = true
end
[19:58][root@myserver:/var/log]
>: df
Filesystem 1K-blocks Used Available Use% Mounted on
varrun 130432 52 130380 1% /var/run
varlock 130432 0 130432 0% /var/lock
udev 130432 28 130404 1% /dev
devshm 130432 0 130432 0% /dev/shm
[19:58][root@myserver:/var/log]
>: df -i
Filesystem Inodes IUsed IFree IUse% Mounted on