korin / open_flash_chart_2_plugin

that is plugin extracted from open_flash_chart_2 project

This URL has Read+Write access

open_flash_chart_2_plugin / install.rb
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."