[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 15:38:31 EDT 2007
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.Thompson at ateb.com> wrote:
> > How do I resolve the subject error when utilizing the repo and
> > glycerin.rb?
> > _______________________________________________
> > Nitro-general mailing list
> > Nitro-general 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'
class Simple
attr_accessor :myid, Integer, :primary_key => true
attr_accessor :author, String
attr_accessor :state, String
end
og_psql = {
:destroy_tables => false,
:store => :psql,
:address => 'localhost',
:user => 'rthompso',
:password => '',
:name => 'test'
}
@db = Og.setup(og_psql)
@pstore = @db.store
Simple.create_with :author => "author", :state => "state"
More information about the Nitro-general
mailing list