3 dest_dir = File.dirname(__FILE__)+'/../../../public/images/sitealizer'
4 File.makedirs(dest_dir) unless File.exists?(dest_dir)
6 Dir[File.dirname(__FILE__)+'/lib/app/assets/images/*'].each do |src|
7 File.copy(src, dest_dir+'/')
11 Sitealizer v.1.1 installed
13 Don't forget to add the following line to your config/routes.rb:
14 map.connect '/sitealizer/:action', :controller => 'sitealizer'
17 If you had previously installed 'sitemeter' you need to run the following if you want to import your stats:
18 rake sitealizer:remove_sitemeter
20 Please visit http://sitealizer.rubyforge.org if you have any questions