[Nitro] /usr/lib/ruby/site_ruby/1.8/rubygems.rb:196:in `activate': can't activate facets (= 1.4.5), already activated facets-1.7.46] (Gem::Exception)

Reid Thompson Reid.Thompson at ateb.com
Tue Mar 20 16:38:05 EDT 2007


On Tue, 2007-03-20 at 16:36 -0400, Reid Thompson wrote:
> On Tue, 2007-03-20 at 20:24 +0000, transfire at gmail.com wrote:
> > On Mar 20, 3:38 pm, Reid Thompson <Reid.Thomp... at ateb.com> wrote:
> > > On Tue, 2007-03-20 at 21:02 +0200, George Moschovitis wrote:
> > > > use facets 1.8.49 and remove older versions.
> > >
> > > > -g.
> > >
> > > > On 3/20/07, Reid Thompson <Reid.Thomp... at ateb.com> wrote:
> > > > > How do I resolve the subject error when utilizing the repo and
> > > > > glycerin.rb?
> > > > > _______________________________________________
> > > > > Nitro-general mailing list
> > > > > Nitro-gene... at rubyforge.org
> > > > >http://rubyforge.org/mailman/listinfo/nitro-general
> > >
> > > rthompso at jhereg:~/src/repo.nitroproject.org$ gem list facets
> > >
> > > *** LOCAL GEMS ***
> > >
> > > facets (1.8.49)
> > >     If Godzilla were a Programmer's Library
> > >
> > > rthompso at jhereg:~/src/repo.nitroproject.org$ ruby ./Test.rb
> > > /home/rthompso/src/repo.nitroproject.org/script/../og/lib/og.rb:10:in `require': no such file to load -- facets/more/synchash (LoadError)
> > >         from /home/rthompso/src/repo.nitroproject.org/script/../og/lib/og.rb:10
> > >         from ./Test.rb:2:in `require'
> > >         from ./Test.rb:2
> > > rthompso at jhereg:~/src/repo.nitroproject.org$ cat Test.rb
> > > require '/home/rthompso/src/repo.nitroproject.org/script/glycerin'
> > > require 'og'
> > 
> > First, make sure you have RUBYOPT="-rubygems".
> > 
> > If that's not it, then check manually to see if synchash.rb is where
> > it's suppose to be. (/usr/lib/ruby/gems/1.8/gems/facets-1.8.49/lib/
> > more/  --or something like that).
> > 
> > T.
> > 
> ok - export RUBYOPT="-rubygems" fixes the synchash.rb issue ( why
> doesn't requiring rubygems in the script (require 'rubygems') do the
> same thing? ) but now there's
>     /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- facets/more/inflect (LoadError)
> and inflect.rb is not in
>     /usr/lib/ruby/gems/1.8/gems/facets-1.8.49/lib/facets/more
> 
> rthompso at jhereg:/usr/lib/ruby/gems/1.8/gems/facets-1.8.49/lib/facets/more$ ls -rlt in*
> -rw-r--r-- 1 root root 14197 2007-03-20 15:25 interval.rb
> -rw-r--r-- 1 root root  3139 2007-03-20 15:25 instance_intercept.rb
> -rw-r--r-- 1 root root  5404 2007-03-20 15:25 inheritor.rb
> -rw-r--r-- 1 root root  3866 2007-03-20 15:25 infinity.rb
> 
> 
there is an inflect.rb in .facets/core/inflect.rb


More information about the Nitro-general mailing list