Displaying 1 result from an estimated 1 matches for "famfam".
Did you mean:
symfam
2009 Sep 09
0
Getting started with Rake - how do I copy a directory of assets to RAILS_ROOT + "/public"
...at I do it keeps saying it can''t find the file. Do
I need to use File.join or is there a better rake way? Any resources
out there on how to use rake for file oriented tasks like this? Should
I use a generator instead?
---
require ''ftools'' #file tools
desc "Installs famfam icons and stylesheets in application"
namespace :famfam do
desc "famfam icons and stylesheets in application"
task :install => :environment do
puts "Copying famfam icons from ../assets/icons to " + RAILS_ROOT
+ "/public/styles"
FileUtils.cd '...