1 |
On Tuesday 17 April 2007 16:48:11 Nistor Andrei wrote: |
2 |
> > > Hi, after an emerge --depclean I noticed none of the ruby scripts work |
3 |
> > > anymore. I get this error: "ruby: no such file to load -- auto_gem |
4 |
> > > (LoadError)" |
5 |
> > > |
6 |
> > > Does anyone know how this can be fixed? |
7 |
> > |
8 |
> > (re-)emerge rubygems. |
9 |
> |
10 |
> It works! Thanks a lot! I wonder why revdep-rebuild didn't detect it? |
11 |
|
12 |
Obviously because there are no broken libs. There is not even a dependency |
13 |
upon rubygems. There is, however, an environment variable |
14 |
RUBYOPT="-rauto_gem" that tells ruby to load auto_gem which obviously fails |
15 |
when --depclean just uninstalled it. Clearly one solution is to reinstall it |
16 |
as you've done. Another solution is to stop telling it to load it as |
17 |
explained in another post to this thread... |
18 |
|
19 |
-- |
20 |
Bo Andresen |