You can check what dependencies a gem has with the dependency command: : RubyGems « Language Basics « Ruby






You can check what dependencies a gem has with the dependency command:


$ gem dep rails
Gem rails-1.2.3
  rake (>= 0.7.2)
  activesupport (= 1.4.2)
  activerecord (= 1.15.3)
  actionpack (= 1.13.3)
  actionmailer (= 1.3.3)
  actionwebservice (= 1.2.3)

 








Related examples in the same category

1.RubyGems is a package utility for Ruby
2.getting help on how to issue RubyGems commands:
3.get help on what commands are available (some output truncated).
4.help on examples (some output truncated).
5.gem help env
6.Show everything on the RubyGems environment with this command:
7.show the RubyGems installation directory:
8.Let's check to see if Ruby on Rails is present with the list command.
9.To select dependencies as you install a package, skip the --include-dependencies option
10.To update all the gems on your system with all the current versions, use the update command.
11.To uninstall a package with the uninstall command: