lib/ferry/utilities.rb in ferry-1.3.3 vs lib/ferry/utilities.rb in ferry-2.0.0
- old
+ new
@@ -26,21 +26,9 @@
def execute(command)
`#{command}`
end
- def make_starter_file
- if !File.exist?("lib/tasks/ferry.rake")
- install_dir = `bundle show ferry`.chomp
- starter_file_contents = File.open("#{install_dir}/doc/ferry_rake_contents.rb", "rb")
- contents = starter_file_contents.read
- File.open("lib/tasks/ferry.rake", 'w') {|f| f.write(contents)}
- puts "/lib/tasks/ferry.rake created!"
- else
- puts "/lib/tasks/ferry.rake already exists - but you knew that already ... didn't you?"
- end
- end
-
def print_version
puts "Ferry #{Ferry::VERSION}"
end
end