Ruby Gems - Study Mode

[#31] What does the gem yank gem_name --version version_number command do in Ruby?
Correct Answer

(C) Removes a specific version of a gem from the gem repository

[#32] What is the purpose of the gem outdated command in Ruby?
Correct Answer

(D) Lists installed gems that have newer versions available

[#33] What does the gem pristine --all command do in Ruby?
Correct Answer

(B) Restores all installed gems to their pristine condition

[#34] What is the purpose of the --development flag when updating gems using Bundler?
Correct Answer

(A) Updates development dependencies along with regular dependencies

[#35] What does the gem list --local command do in Ruby?
Correct Answer

(D) Lists gems installed locally