Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ca165f6da9
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (12 sloc) 0.617 kb
# provide uninstall instructions to user
require 'fileutils'
migration_file = nil
Dir.glob(File.join('db', 'migrate', '**')){|f| migration_file = f.grep(/_abingo_migration/) }
if migration_file
puts "Abingo migration file #{migration_file} has not been modified. Run the down method manually to reverse the migration."
end
if File.exists?(File.join(Rails.root, 'public', 'stylesheets', 'abingo_dashboard.css'))
stylesheet_path = File.join(Rails.root, 'public', 'stylesheets', 'abingo_dashboard.css')
puts "Removing the abingo dashboard stylesheet file: #{stylesheet_path}"
FileUtils.rm(stylesheet_path)
end
Jump to Line
Something went wrong with that request. Please try again.