edited class_option and inject_into_file to fix "rails generate spine:new" failure