Skip to content

Instantly share code, notes, and snippets.

View jsierles's full-sized avatar
🎯
Focusing

Joshua Sierles jsierles

🎯
Focusing
View GitHub Profile
class Object
def in?(object)
object.include? self
end
end
filter f_exceptions { match("occurred in"); };
destination exceptions { file("/u/logs/exceptions.log", owner(app), group(app), perm(0640)); };
log { source(s_remote); filter(f_exceptions); destination(exceptions); flags(final); };
gem 'rack', '1.0.1', :git => 'git://github.com/rails/rack.git'
gem "rails", :git => 'git://github.com/rails/rails.git'
gem 'arel', '0.2.pre', :git => 'git://github.com/rails/arel.git'
gem "mysql", ">= 2.8.1"
gem "paperclip", :git => "git://github.com/thoughtbot/paperclip.git"
gem "more", :git => 'git://github.com/cloudhead/more.git'
gem "acts_as_list", "0.1.2", :require_as => "active_record/acts/list"
gem "authlogic", :git => "git://github.com/stephencelis/authlogic.git", :branch => "rails_3_pre"
gem "globalize2", "0.1.0"
gem "seed-fu"
set :user, "jsierles"
set :application, "loflamenco"
set :repository, "git@github.com:jsierles/loflamenco.git"
set :deploy_type, 'deploy'
set :branch, 'origin/master'
role :app, "jsierles@calx.es"
namespace :deploy do
desc "Deploy it"
def parent_layout(layout)
@content_for_layout = self.output_buffer
self.output_buffer = render(:file => "layouts/#{layout}")
end
/Users/joshua/projects/loflamenco/app/views/layouts/application.html.erb:45:in `_render_template_947961506_2244625560_0'
/Users/joshua/projects/loflamenco/vendor/gems/dirs/rails/actionpack/lib/action_view/template.rb:39:in `send'
/Users/joshua/projects/loflamenco/vendor/gems/dirs/rails/actionpack/lib/action_view/template.rb:39:in `render'
/Users/joshua/projects/loflamenco/vendor/gems/dirs/rails/activesupport/lib/active_support/notifications/instrumenter.rb:14:in `instrument'
/Users/joshua/projects/loflamenco/vendor/gems/dirs/rails/activesupport/lib/active_support/notifications.rb:72:in `__send__'
/Users/joshua/projects/loflamenco/vendor/gems/dirs/rails/activesupport/lib/active_support/notifications.rb:72:in `instrument'
/Users/joshua/projects/loflamenco/vendor/gems/dirs/rails/activesupport/lib/active_support/notifications.rb:48:in `__send__'
/Users/joshua/projects/loflamenco/vendor/gems/dirs/rails/activesupport/lib/active_support/notifications.rb:48:in `instrument'
/Users/joshua/projects/loflamenco/vendor/gem
application.html.erb
<html>
<head>
<title>hi there</title>
</head>
<body>
<%= yield %>
</body>
rasgueado:~ joshua$ sudo gem install bundler --prerelease
WARNING: RubyGems 1.2+ index not found for:
RubyGems will revert to legacy indexes degrading performance.
Bulk updating Gem source index for: http://gemcutter.org/
[Wed, 06 Jan 2010 23:41:00 +0100] DEBUG: Converging node karmic.localdomain
[Wed, 06 Jan 2010 23:41:00 +0100] DEBUG: Processing execute[start-runsvdir]
[Wed, 06 Jan 2010 23:41:00 +0100] DEBUG: execute[start-runsvdir] using Chef::Provider::Execute
[Wed, 06 Jan 2010 23:41:00 +0100] DEBUG: Doing nothing for execute[start-runsvdir]
[Wed, 06 Jan 2010 23:41:00 +0100] DEBUG: Processing package[runit]
[Wed, 06 Jan 2010 23:41:00 +0100] DEBUG: package[runit] using Chef::Provider::Package
[Wed, 06 Jan 2010 23:41:00 +0100] ERROR: package[runit] (/tmp/chef-solo/cookbooks/runit/recipes/default.rb line 30) had an error:
You must override load_current_resource in #<Chef::Provider::Package:0xb6c58f08>
/var/lib/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/provider.rb:42:in `load_current_resource'
/var/lib/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/runner.rb:56:in `build_provider'
Volumes/37s/apps/beauty/vendor/gems/ruby/1.8/dirs/rails/lib
/Volumes/37s/apps/beauty/vendor/gems/ruby/1.8/dirs/rails/bin
/Volumes/37s/apps/beauty/vendor/gems/ruby/1.8/dirs/rails/activeresource/lib
/Volumes/37s/apps/beauty/vendor/gems/ruby/1.8/dirs/rails/activeresource/bin
/Volumes/37s/apps/beauty/vendor/gems/ruby/1.8/dirs/rails/activerecord/lib
/Volumes/37s/apps/beauty/vendor/gems/ruby/1.8/dirs/rails/activerecord/bin
/Volumes/37s/apps/beauty/vendor/gems/ruby/1.8/dirs/rails/railties/lib
/Volumes/37s/apps/beauty/vendor/gems/ruby/1.8/dirs/rails/railties/bin
/Volumes/37s/apps/beauty/vendor/gems/ruby/1.8/dirs/rails/actionpack/lib
/Volumes/37s/apps/beauty/vendor/gems/ruby/1.8/dirs/rails/actionpack/bin