Trans said:
please correct me if i am mistaken. if i'm using a gems installrf app
that has gem dependencies, rubygems will prevent it from working unless
those other gems are installed? even if those other apps are install
manually?
Just to be clear ... there are two kinds of dependencies.
There are the declared dependencies in the gem metadata that are used to
identify additional gems that might be needed at install time. A --force
flag on the gem command will override these declared dependencies and
allow you to install even if the other gems are not available.
The other kind of dependency is a require_gem statement in the runtime
code. If a require_gem statement cannot find a gem that matches the name
and requested version constraint, then an exception will be generated.
However, most applications should *not* be using require_gem, even if the=
y
are installed by gems. You should use require_gem _only_ if you wish to
require a particular version of a library.
--=20
-- Jim Weirich (e-mail address removed)
http://onestepback.org