E
Erik Veenstra
When you set RUBYOPT to "rubygems", library ubygems is
automatically required before starting the application. You
don't have to do a require of (r)ubygems in the application
itself anymore. If the application doesn't require rubygems
internally, it can only run in an environment in which RUBYOPT
is set to "rubygems".
What happens when such an application is shipped to a machine
which does have rubygems and the right gems, (so it should be
able to run perfectly), but doesn't have RUBYOPT set to require
rubygems? The only solution to get such an application to work
(out of the box) is to set RUBYOPT as well, which does affect
the other applications...
It just doesn't feel good...
gegroet,
Erik V.
automatically required before starting the application. You
don't have to do a require of (r)ubygems in the application
itself anymore. If the application doesn't require rubygems
internally, it can only run in an environment in which RUBYOPT
is set to "rubygems".
What happens when such an application is shipped to a machine
which does have rubygems and the right gems, (so it should be
able to run perfectly), but doesn't have RUBYOPT set to require
rubygems? The only solution to get such an application to work
(out of the box) is to set RUBYOPT as well, which does affect
the other applications...
It just doesn't feel good...
gegroet,
Erik V.