tasks/mina/install.rb in mina-1.0.0.beta1 vs tasks/mina/install.rb in mina-1.0.0.beta2
- old
+ new
@@ -2,17 +2,17 @@
task :init do
name = Rake.application.name
config_file = Rake.application.rakefile
unless File.exist?(config_file)
- print_str "! You already have #{config_file}."
+ puts "! You already have #{config_file}."
exit 8
end
outfile = './config/deploy.rb'
require 'fileutils'
FileUtils.mkdir_p './config'
FileUtils.cp Mina.root_path('data/deploy.rb'), outfile
- print_str "-----> Created #{outfile}"
- print_str "Edit this file, then run `#{name} setup` after."
+ puts "-----> Created #{outfile}"
+ puts "Edit this file, then run `#{name} setup` after."
end