class Bootstrap::Generators::InstallGenerator
def cleanup_legacy
def cleanup_legacy # Remove old requires (if any) that included twitter/bootstrap directly: gsub_file("app/assets/stylesheets/application.css", %r|\s*\*=\s*twitter/bootstrap\s*\n|, "") if File.exist?('app/assets/stylesheets/bootstrap_override.css.less') puts <<-EOM Warning: app/assets/stylesheets/bootstrap_override.css.less exists It should be removed, as it has been superceded by app/assets/stylesheets/bootstrap_and_overrides.css.less EOM end end