Ruby Gems - Study Mode
[#21] What does the command gem uninstall gem_name do in Ruby?
Correct Answer
(D) Uninstalls a specified gem
[#22] What is the purpose of the Gemfile in Ruby projects?
Correct Answer
(A) To specify dependencies for the project
[#23] Which command is used to update all installed gems to their latest versions in Ruby?
Correct Answer
(D) gem update
[#24] What is the purpose of the gemfile.lock file in Ruby projects?
Correct Answer
(C) To lock the versions of gems specified in the Gemfile
[#25] What does the command gem search keyword do in Ruby?
Correct Answer
(B) Searches for gems with names matching the keyword