add config.rb for handle redis and stdout buffer

not the best option, but I'm sleepy :)
only require better_errors on development