Bird
0
0

Which statement best describes how RubyGems resolves gem dependencies during installation?

hard📝 Conceptual Q10 of 15
Ruby - Gems and Bundler
Which statement best describes how RubyGems resolves gem dependencies during installation?
ARubyGems requires manual installation of all dependent gems before installing the main gem
BRubyGems ignores dependencies and installs only the requested gem
CRubyGems automatically installs required dependent gems to satisfy dependencies
DRubyGems installs dependencies only if specified with a special flag
Step-by-Step Solution
Solution:
  1. Step 1: Understand dependency resolution in RubyGems

    RubyGems automatically finds and installs dependent gems needed by the requested gem.
  2. Step 2: Eliminate incorrect options

    It does not ignore dependencies, nor require manual installs, nor need special flags for dependencies.
  3. Final Answer:

    RubyGems automatically installs required dependent gems to satisfy dependencies -> Option C
  4. Quick Check:

    Dependency resolution = automatic install of dependencies [OK]
Quick Trick: RubyGems handles dependencies automatically during install [OK]
Common Mistakes:
  • Thinking dependencies must be installed manually
  • Assuming dependencies are optional
  • Believing special flags are needed for dependencies

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Ruby Quizzes