<< ChoddbWindows | Index | DeoddbWindows >>
Install the gem
sudo gem install de.oddb
I type
sudo oddbd
this results in
/usr/lib/ruby/gems/1.8/gems/de.oddb-2.0.0/lib/oddb.rb:4: warning: already initialized constant VERSION
/usr/lib/ruby/gems/1.8/gems/de.oddb-2.0.0/lib/oddb.rb:8:in `read': No such file or directory - /usr/lib/ruby/gems/1.8/gems/de.oddb-2.0.0/.git/refs/heads/master
(Errno::ENOENT)
from /usr/lib/ruby/gems/1.8/gems/de.oddb-2.0.0/lib/oddb.rb:8
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/de.oddb-2.0.0/lib/oddb/config.rb:5
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/de.oddb-2.0.0/bin/oddbd:7
from /usr/bin/oddbd:19:in `load'
from /usr/bin/oddbd:19
so create the directories
.git/refs/heads/
and then copy the file over
sudo cp /home/zeno/.software/de.oddb.org/.git/refs/heads/master /usr/lib/ruby/gems/1.8/gems/de.oddb-2.0.0/.git/refs/heads/
and again
oddbd
results in
/usr/lib/ruby/gems/1.8/gems/de.oddb-2.0.0/lib/oddb.rb:4: warning: already initialized constant VERSION /usr/lib/ruby/site_ruby/1.8/DBD/Pg/Pg.rb:118:in `initialize': could not connect to server: Permission denied (DBI::OperationalError) Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? from /usr/lib/ruby/site_ruby/1.8/DBD/Pg/Pg.rb:62:in `new' from /usr/lib/ruby/site_ruby/1.8/DBD/Pg/Pg.rb:62:in `connect' from /usr/lib/ruby/site_ruby/1.8/dbi.rb:424:in `connect' from /usr/lib/ruby/site_ruby/1.8/dbi.rb:215:in `connect' from /usr/lib/ruby/site_ruby/1.8/odba/connection_pool.rb:60:in `_connect' from /usr/lib/ruby/site_ruby/1.8/odba/connection_pool.rb:59:in `times' from /usr/lib/ruby/site_ruby/1.8/odba/connection_pool.rb:59:in `_connect' from /usr/lib/ruby/site_ruby/1.8/odba/connection_pool.rb:56:in `connect' ... 9 levels... from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/lib/ruby/gems/1.8/gems/de.oddb-2.0.0/bin/oddbd:10 from /usr/bin/oddbd:19:in `load' from /usr/bin/oddbd:19
so
sudo oddbd
results in
I, [2010-12-22T13:21:34.604815 #16939] INFO -- start: starting oddb-server on druby://localhost:11000
de.oddb.org is up and running! That was fast! I already had the DB in place but anyway. I need to try this on GemWindows? as well.