Examveda

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

Answer: Option D


This Question Belongs to Ruby Programming >> Ruby Gems

Join The Discussion

Related Questions on Ruby Gems

What are Ruby Gems?

A. Ruby's built-in version control system for managing projects

B. Ruby modules for organizing code

C. Built-in data structures in Ruby

D. Pre-packaged libraries or applications that provide additional functionality to Ruby applications