move the better_errors gem ,becouse it's a bad plugin for rails 4