Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Another install fix

  • Loading branch information...
commit 52fc50e11d130a1a40cb7f022b86836ae2379e74 1 parent 6a641d0
@fdv fdv authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 install.rb
View
8 install.rb
@@ -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"
Please sign in to comment.
Something went wrong with that request. Please try again.