Skip to content

Instantly share code, notes, and snippets.

View kungfumike's full-sized avatar

Mike Thompson kungfumike

View GitHub Profile
mike@knight:~/ruby_git_repo/merb/merb-auth$ vi Rakefile
mike@knight:~/ruby_git_repo/merb/merb-auth$ sudo rake install
[sudo] password for mike:
(in /home/mike/ruby_git_repo/merb/merb-auth)
/home/mike/ruby_git_repo/merb/merb-auth/Rakefile:23: warning: already initialized constant GEM_NAME
/home/mike/ruby_git_repo/merb/merb-auth/Rakefile:25: warning: already initialized constant GEM_VERSION
/home/mike/ruby_git_repo/merb/merb-auth/Rakefile:23: warning: already initialized constant GEM_NAME
/home/mike/ruby_git_repo/merb/merb-auth/Rakefile:25: warning: already initialized constant GEM_VERSION
mv merb-auth-slice-password-0.9.10.gem pkg/merb-auth-slice-password-0.9.10.gem
mv merb-auth-more-0.9.10.gem pkg/merb-auth-more-0.9.10.gem
*** LOCAL GEMS ***
abstract (1.0.0)
addressable (1.0.4)
data_objects (0.9.6)
diff-lcs (1.1.2)
dm-core (0.9.6)
dm-migrations (0.9.6)
erubis (2.6.2)
28 Merb.logger.info("Compiling routes...")
29 Merb::Router.prepare do
30 # RESTful routes
31 # resources :posts
32 --
33 # Adds the required routes for merb-auth using the password slice
34 slice(:merb_auth_slice_password, :name_prefix => nil, :path_prefix => "")
35
36 # This is the default route for /:controller/:action/:id
37 # This is fine for most cases. If you're heavily using resource-based
28 Merb.logger.info("Compiling routes...")
29 Merb::Router.prepare do
30 resources :homies
31 # RESTful routes
32 # resources :posts
33 match("/blah").to(:controller => "blah")
34 --
35 # Adds the required routes for merb-auth using the password slice
36 # slice(:merb_auth_slice_password, :name_prefix => nil, :path_prefix => "")
37
mike@knight:~/workspace/projects/testapp$ rake audit:routes
(in /home/mike/workspace/projects/testapp)
Loading init file from /home/mike/workspace/projects/testapp/config/init.rb
Loading /home/mike/workspace/projects/testapp/config/environments/development.rb
Loading init file from /home/mike/workspace/projects/testapp/config/init.rb
Loading /home/mike/workspace/projects/testapp/config/environments/rake.rb
~ Connecting to database...
~ Loaded slice 'MerbAuthSlicePassword' ...
~ Parent pid: 10832
~ Compiling routes...
production:
adapter: mysql
encoding: utf8
database: analytics_production
username: someone
password: something
host: db2.mysite.com
repositories:
users:
adapter: mysql
#
# Example Chef Server Config File
#
# We recommend using Opscode's chef cookbook for managing chef itself,
# instead of using this file.
log_level :info
log_location "/var/log/chef/server.log"
ssl_verify_mode :verify_none
registration_url "https://localhost"
mike@miguel:~/workspace/projects/mychef$ rake install --trace
(in /home/mike/workspace/projects/mychef)
** Invoke install (first_time)
** Invoke update (first_time)
** Execute update
** Updating your repository
git pull
Public key f9:4f:07:55:f5:2f:79:c5:91:7b:19:d2:8b:35:a2:25 blacklisted (see ssh-vulnkey(1)); refusing to send it
You asked me to pull without telling me which branch you
want to merge with, and 'branch.master.merge' in
mike@miguel:~$ sudo /usr/local/ruby-1.8.6-p111/bin/chef-server -N -c 2
Loading init file from /usr/local/ruby-1.8.6-p111/lib/ruby/gems/1.8/gems/chef-server-0.7.0/config/init.rb
Loading /usr/local/ruby-1.8.6-p111/lib/ruby/gems/1.8/gems/chef-server-0.7.0/config/environments/development.rb
[Fri, 12 Jun 2009 14:43:05 -0700] DEBUG: Sending HTTP Request via GET to /_all_dbs
[Fri, 12 Jun 2009 14:43:05 -0700] DEBUG: Sending HTTP Request via GET to /chef/_design%2Fnodes
[Fri, 12 Jun 2009 14:43:05 -0700] DEBUG: Sending HTTP Request via GET to /_all_dbs
[Fri, 12 Jun 2009 14:43:05 -0700] DEBUG: Sending HTTP Request via GET to /chef/_design%2Froles
[Fri, 12 Jun 2009 14:43:05 -0700] DEBUG: Sending HTTP Request via GET to /_all_dbs
[Fri, 12 Jun 2009 14:43:05 -0700] DEBUG: Sending HTTP Request via GET to /chef/_design%2Fregistrations
~ Compiling routes... (totally normal to see 'Cannot find resource model')
~ Sending HTTP Request via GET to /
~ Sending HTTP Request via GET to /chef/_design/nodes/_view/all_id
merb : worker (port 4000) ~ end of file reached - (EOFError)
/usr/local/ruby-1.8.6-p111/lib/ruby/1.8/net/protocol.rb:133:in `sysread'
/usr/local/ruby-1.8.6-p111/lib/ruby/1.8/net/protocol.rb:133:in `rbuf_fill'
/usr/local/ruby-1.8.6-p111/lib/ruby/1.8/timeout.rb:56:in `timeout'
/usr/local/ruby-1.8.6-p111/lib/ruby/1.8/timeout.rb:76:in `timeout'
/usr/local/ruby-1.8.6-p111/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill'
/usr/local/ruby-1.8.6-p111/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'
/usr/local/ruby-1.8.6-p111/lib/ruby/1.8/net/protocol.rb:126:in `readline'