lib/xcode/install.rb in xcode-install-0.1.0 vs lib/xcode/install.rb in xcode-install-0.1.1

- old
+ new

@@ -217,10 +217,10 @@ end :private def get_version(xcode_path) - output = `DEVELOPER_DIR='' #{xcode_path}/Contents/Developer/usr/bin/xcodebuild -version` + output = `DEVELOPER_DIR='' "#{xcode_path}/Contents/Developer/usr/bin/xcodebuild" -version` output.split("\n").first.split(' ')[1] end end class Xcode