modifier – When running an application under ruby ​​2.3.1 using the server command rails, the following error occurs: impossible to edit a frozen array (RuntimeError)

I have to run an application developed in Ruby on rails. ruby 2.3.1 and rails 4.2.0

When I run the server command rails. I receive the following error:
…. config / initializers / doorkeeper.rb: 75: in : Can not edit a frozen array (RuntimeError).

Can I explain how to succeed to no longer have this error, thank you