Ruby Gems - Study Mode

[#36] What is the purpose of the bundle exec command in Ruby projects?
Correct Answer

(C) Executes a command in the context of the current project's Gemfile

[#37] What does the gem cleanup --dryrun command do in Ruby?
Correct Answer

(A) Simulates the cleanup process without removing any gems

[#38] What is the purpose of the --ignore-dependencies flag when installing gems using Bundler?
Correct Answer

(D) Skips installing gem dependencies

[#39] What does the gem help commands command do in Ruby?
Correct Answer

(C) Lists all available gem commands

[#40] What is the purpose of the gem contents gem_name command in Ruby?
Correct Answer

(B) Lists the files installed by a specified gem