Remove unnecessary require 'active_record'
Add shebang.
[INCOMPATIBLE CHANGE] Simplify Configuration class.