Q22
What is the purpose of the --version flag when installing a gem using the gem install command in Ruby?
A.
Installs the gem without checking for dependencies
B.
Installs a specific version of Ruby
C.
Installs the latest version of the gem
D.
Specifies the version of the gem to be installed
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board