andi/simple-navigation — Issue #74: Simple-navigation breaks rails logger on Heroku cedar stack
Author: emiltin
Created: 2011-11-10 22:02:36+00:00
State: open

When deploying rails 3 apps on Heroku using their new cedar stack, simple-navigation prevents logger.error(), logger.info(), etc from writing anything to the log file.

This is the case even with a skeleton rails 3 app; when the Gemfile includes simple-navigation, the logger writes nothing to the log file, when the Gemfile doesn't include simple-navigation, the logger works normally.

Note that Heroku uses the following plugin: https://github.com/ddollar/rails_log_stdout. I tried to install it locally, but couldn't reproduce the error locally.

This is my Gemfile:

source 'http://rubygems.org'

gem 'rails', '3.1.1'
gem 'rake', '~> 0.8.7' #avoid broken version
gem 'rack', '1.3.3' #1.3.4 results in warnings
gem 'simple-navigation'

group :production, :staging do
gem 'pg'
gem 'thin'
end

group :development, :test do
gem 'sqlite3-ruby', :require => 'sqlite3'
end

# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', "~> 3.1.0"
gem 'coffee-rails', "~> 3.1.0"
gem 'uglifier'
end