Moved active_record require back up before bundler.require