Commit be0ee35a authored by Francis Chong's avatar Francis Chong

load yaml only when needed

parent 92c1befe
require 'fileutils'
require 'yaml'
module Pod
class Command
......@@ -59,6 +58,7 @@ module Pod
end
def check_versions(dir)
require 'yaml'
bin_version = Gem::Version.new(VERSION)
yaml_file = dir + 'CocoaPods-version.yml'
return unless yaml_file.exist?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment