Permalink
Browse files

Another install fix

  • Loading branch information...
1 parent 6a641d0 commit 52fc50e11d130a1a40cb7f022b86836ae2379e74 @fdv fdv committed Oct 10, 2009
Showing with 4 additions and 4 deletions.
  1. +4 −4 install.rb
View
@@ -2,9 +2,9 @@
destination = File.join(RAILS_ROOT, '/public/')
puts "Copying Typo sliding posts files"
-File.copy(File.join(source, 'javascripts/carousel.js'), File.join(destination, 'javascripts/carousel.js'))
-File.copy(File.join(source, 'stylesheets/typo_sliding_posts.css'), File.join(destination, 'stylesheets/typo_sliding_posts.css'))
-File.copy(File.join(source, 'images/carousel_previous.png'), File.join(destination, 'images/carousel_previous.png'))
-File.copy(File.join(source, 'images/carousel_next.png'), File.join(destination, 'images/carousel_next.png'))
+FileUtils.copy(File.join(source, 'javascripts/carousel.js'), File.join(destination, 'javascripts/carousel.js'))
+FileUtils.copy(File.join(source, 'stylesheets/typo_sliding_posts.css'), File.join(destination, 'stylesheets/typo_sliding_posts.css'))
+FileUtils.copy(File.join(source, 'images/carousel_previous.png'), File.join(destination, 'images/carousel_previous.png'))
+FileUtils.copy(File.join(source, 'images/carousel_next.png'), File.join(destination, 'images/carousel_next.png'))
puts "Done"

0 comments on commit 52fc50e

Please sign in to comment.