le0pard / mongodb_logger

MongoDB logger for Rails
http://mongodb-logger.catware.org/
MIT License
140 stars 52 forks source link

Rails 5 support #70

Open JonasNielsen opened 8 years ago

JonasNielsen commented 8 years ago

As far as I can tell mongodb_logger should be able to support Rails 5 once Sinatra is Rails 5 compatible (issue here).

Meanwhile anyone coming across this can use:

# Gemfile
gem 'rack-protection', github: 'sinatra/rack-protection'
gem 'sinatra', github: 'sinatra/sinatra'
gem 'mongodb_logger',
  github: 'JonasNielsen/mongodb_logger',
  branch: 'rails-5'

That's necessary because sinatra is disabled in .gemspec

le0pard commented 8 years ago

Thanks. I can create rails5 branch and in this case you can make PR to it.

b264 commented 8 years ago

This may work now https://github.com/sinatra/sinatra/pull/1173

le0pard commented 8 years ago

@b264 thanks for info