public
Description: that is plugin extracted from open_flash_chart_2 project
Homepage: http://openflashchart2.sentor.pl
Clone URL: git://github.com/korin/open_flash_chart_2_plugin.git
Click here to lend your support to: open_flash_chart_2_plugin and make a donation at www.pledgie.com !
100755 6 lines (6 sloc) 0.335 kb
1
2
3
4
5
6
puts "Copying files to public directory:"
PLUGIN_ROOT = File.dirname(__FILE__) + '/../'
FileUtils.cp "#{PLUGIN_ROOT}requirements/*.swf", "#{RAILS_ROOT}/public", :verbose => true
FileUtils.cp "#{PLUGIN_ROOT}requirements/*.js", "#{RAILS_ROOT}/public/javascripts", :verbose => true
puts "Plugin installed."
puts "Please read README file."