alloy/kicker — pull request #21 by goomerko (2012-02-03 11:00:07+00:00)
Title: Rails 3.2.0 support

This pull request fixed a problem with kicker and Rails 3.2.0.

Previous to this fix, when I use kicker with Rails 3.2.0 obtain an error. The trace:

/Users/goomerko/.rvm/gems/ruby-1.9.3-p0@rankem/gems/activesupport-3.2.0/lib/active_support/core_ext/module/deprecation.rb:7:in `deprecate': uninitialized constant ActiveSupport::Deprecation (NameError)
from /Users/goomerko/.rvm/gems/ruby-1.9.3-p0@rankem/gems/activesupport-3.2.0/lib/active_support/core_ext/module/synchronization.rb:44:in `'
from /Users/goomerko/.rvm/gems/ruby-1.9.3-p0@rankem/gems/activesupport-3.2.0/lib/active_support/core_ext/module/synchronization.rb:6:in `'
from /Users/goomerko/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/goomerko/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/goomerko/.rvm/gems/ruby-1.9.3-p0@rankem/gems/activesupport-3.2.0/lib/active_support/core_ext/module.rb:8:in `'
from /Users/goomerko/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `require'
from /Users/goomerko/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
from /Users/goomerko/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
from /Users/goomerko/.rvm/gems/ruby-1.9.3-p0@rankem/gems/kicker-2.3.1/lib/kicker/recipes/rails.rb:4:in `'
from /Users/goomerko/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/goomerko/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/goomerko/.rvm/gems/ruby-1.9.3-p0@rankem/gems/kicker-2.3.1/lib/kicker/recipes.rb:56:in `block in '
from /Users/goomerko/.rvm/gems/ruby-1.9.3-p0@rankem/gems/kicker-2.3.1/lib/kicker/recipes.rb:56:in `each'
from /Users/goomerko/.rvm/gems/ruby-1.9.3-p0@rankem/gems/kicker-2.3.1/lib/kicker/recipes.rb:56:in `'
from /Users/goomerko/.rvm/gems/ruby-1.9.3-p0@rankem/gems/kicker-2.3.1/lib/kicker/recipes.rb:30:in `'
from /Users/goomerko/.rvm/gems/ruby-1.9.3-p0@rankem/gems/kicker-2.3.1/lib/kicker/recipes.rb:29:in `'
from /Users/goomerko/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/goomerko/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/goomerko/.rvm/gems/ruby-1.9.3-p0@rankem/gems/kicker-2.3.1/lib/kicker.rb:122:in `'
from /Users/goomerko/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/goomerko/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/goomerko/.rvm/gems/ruby-1.9.3-p0@rankem/gems/kicker-2.3.1/bin/kicker:9:in `'
from /Users/goomerko/.rvm/gems/ruby-1.9.3-p0@rankem/bin/kicker:19:in `load'
from /Users/goomerko/.rvm/gems/ruby-1.9.3-p0@rankem/bin/kicker:19:in `

'

This pull request fixed this problem, adding the line [require 'active_support/deprecation'] on top of lib/kicker/recipes/rails.rb