51. What is the purpose of the --document flag when installing gems using Bundler? A. Installs gems without checking for dependencies B. Installs gems without updating the Gemfile.lock C. Generates documentation for installed gems D. Skips generating documentation for installed gems Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board
52. What does the gem search -r keyword command do in Ruby? A. Searches for gems with descriptions matching the keyword on the remote server B. Lists all installed gems C. Lists all available gems D. Searches for gems with names matching the keyword on the remote server Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
53. What is the purpose of the gem uninstall gem_name -I command in Ruby? A. Removes all installed versions of the gem B. Installs the gem without checking for dependencies C. Uninstalls the gem without removing its dependencies D. Reinstalls the gem without updating the Gemfile.lock Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A No explanation is given for this question Let's Discuss on Board
54. What does the gem outdated command do in Ruby? A. Lists gems installed locally B. Lists gems available on the remote server C. Lists installed gems along with their dependencies D. Lists installed gems that have newer versions available Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
55. Which command is used to list all gems installed on the system in Ruby? A. gems B. show gems C. list gems D. gem list Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
56. What is the purpose of the --no-ri and --no-rdoc flags when installing gems using Bundler? A. Installs gems without documentation B. Installs gems without checking for dependencies C. Skips generating documentation for installed gems D. Installs gems without updating the Gemfile.lock Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board