Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed install.rb to use FileUtils for Ruby 1.9

Signed-off-by: Diego Carrion <dc.rec1@gmail.com>
  • Loading branch information...
commit 6582312b98081d5929e3bb8ffe78f8d87c6b3782 1 parent 45acd03
@bradoc bradoc authored committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 install.rb
View
4 install.rb
@@ -1,4 +1,4 @@
-require 'ftools'
+require 'fileutils'
src = File.join(File.dirname(__FILE__), "deploy.rb.sample")
dest = File.join(File.dirname(__FILE__), "..", "..", "..", "config", "deploy.rb")
-File.copy src, dest unless File.exists?(dest)
+FileUtils.copy src, dest unless File.exists?(dest)
Please sign in to comment.
Something went wrong with that request. Please try again.