Приветствую.
Возникла следующая проблема: на домашнем серваке нужно запустить Teambox. (www.teambox.com) Оно на руби, а в нем я не силен, так что рассчитываю на вашу помощь, лоровчане.
Итак, установлены
- сам Teambox из гита
- dev-lang/ruby-1.8.7_p334-r1
- dev-ruby/rubygems-1.3.7-r1
- dev-ruby/bundler-1.0.14
- dev-db/mysql-5.1.56
и дополнительно
- dev-db/postgresql-base-9.0.3 для удовлетворения зависимостей руби модулей, которые требует teambox
- app-misc/sphinx-0.9.9 без которого оно ругается в консоль на отсутствие
Дистрибутив Gentoo amd64. Все делал по инструкции отсюда: https://github.com/teambox/teambox/wiki/Installing-locally
При попытке запуска командой:
rails server -c /opt/teambox/config.ru -P /var/run/teambox.pid -e production
which: no node in (/usr/lib64/ruby/gems/1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.5)
DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from [] at /usr/lib64/ruby/gems/1.8/bundler/gems/choices-675faa587554/lib/choices.rb:19)
=> Booting Mongrel
=> Rails 3.0.3 application starting in production on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/usr/lib64/ruby/gems/1.8/gems/jammit-0.5.4/lib/jammit/packager.rb:114:in `mtime': can't convert nil into String (TypeError)
from /usr/lib64/ruby/gems/1.8/gems/jammit-0.5.4/lib/jammit/packager.rb:114:in `cacheable'
from /usr/lib64/ruby/gems/1.8/gems/jammit-0.5.4/lib/jammit/packager.rb:40:in `precache_all'
from ./lib/jammit_loading.rb:12:in `package!'
from /opt/teambox/config/initializers/jammit.rb:50
from /usr/lib64/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:235:in `load'
from /usr/lib64/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:235:in `load'
from /usr/lib64/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:227:in `load_dependency'
from /usr/lib64/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:235:in `load'
from /usr/lib64/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/engine.rb:201
from /usr/lib64/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/engine.rb:200:in `each'
from /usr/lib64/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/engine.rb:200
from /usr/lib64/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/initializable.rb:25:in `instance_exec'
from /usr/lib64/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/initializable.rb:25:in `run'
from /usr/lib64/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/initializable.rb:50:in `run_initializers'
from /usr/lib64/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/initializable.rb:49:in `each'
from /usr/lib64/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/initializable.rb:49:in `run_initializers'
from /usr/lib64/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/application.rb:134:in `initialize!'
from /usr/lib64/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/application.rb:77:in `send'
from /usr/lib64/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/application.rb:77:in `method_missing'
from /opt/teambox/config/environment.rb:5
from /usr/lib64/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require'
from /usr/lib64/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require'
from /usr/lib64/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:in `load_dependency'
from /usr/lib64/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:596:in `new_constants_in'
from /usr/lib64/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:in `load_dependency'
from /usr/lib64/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require'
from /opt/teambox/config.ru:3
from /usr/lib64/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/builder.rb:46:in `instance_eval'
from /usr/lib64/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/builder.rb:46:in `initialize'
from /opt/teambox/config.ru:1:in `new'
from /opt/teambox/config.ru:1
Гугление не помогает, информации по проекту кот наплакал, документация на оф сайте лаконична донельзя и уже слегка подустарела. Надеюсь на твою помощь ЛОР!
P.S.[2Tark] Ты както говорил, что используешь тимбокс. Поделись историей успеха.