Skip to content

Commit

Permalink
Require the configuration lib in application.rb since it's necessary …
Browse files Browse the repository at this point in the history
…for asset precompilation *and* we've disabled initialization for asset precompilation for Heroku compatibility
  • Loading branch information
sgrove committed Apr 11, 2012
1 parent 30364e6 commit 40d8add
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# Bundler.require(:default, :assets, Rails.env)
end

require "./lib/kandan_config.rb"

module Kandan
class Application < Rails::Application
# Dealing with Heroku-specific eccentricities
Expand Down
2 changes: 0 additions & 2 deletions config/initializers/kandan.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "#{Rails.root}/lib/kandan_config.rb"

Dir["#{Rails.root}/lib/broadcasters/**/*.rb"].each do |file|
require file
end
Expand Down

0 comments on commit 40d8add

Please sign in to comment.