Commit 0ac3cd1b authored by Orta's avatar Orta

Merge pull request #1942 from neonichu/master

when new version detected, show command to update
parents 18d66116 264d1c5f
...@@ -206,7 +206,8 @@ module Pod ...@@ -206,7 +206,8 @@ module Pod
end end
if config.new_version_message? && cocoapods_update?(versions) if config.new_version_message? && cocoapods_update?(versions)
UI.puts "\nCocoaPods #{versions['last']} is available.\n".green UI.puts "\nCocoaPods #{versions['last']} is available.\n" \
"To update use: [sudo] gem update cocoapods\n".green
end end
end end
......
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