# Install hook code here require 'fileutils' PLUGIN_ROOT = File.dirname(__FILE__) + '/' FileUtils.cp_r Dir[PLUGIN_ROOT + '/assets/flash'], RAILS_ROOT + '/public'