redmine-2.4.7 on thin not working
Added by synoptik . about 10 years ago
hello,
i get at error from thin logs...
Writing PID to tmp/pids/thin.0.pid
Changing process privilege to www-data:www-data
Using rack adapter
Exiting!
/usr/local/lib/site_ruby/1.9.1/rubygems/stub_specification.rb:127:in `missing_extensions?': undefined method `missing_extensions?' for nil:NilClass (NoMethodError)
from /usr/local/lib/site_ruby/1.9.1/rubygems/basic_specification.rb:64:in `contains_requirable_file?'
from /usr/local/lib/site_ruby/1.9.1/rubygems/specification.rb:939:in `block in find_inactive_by_path'
from /usr/local/lib/site_ruby/1.9.1/rubygems/specification.rb:938:in `each'
from /usr/local/lib/site_ruby/1.9.1/rubygems/specification.rb:938:in `find'
from /usr/local/lib/site_ruby/1.9.1/rubygems/specification.rb:938:in `find_inactive_by_path'
from /usr/local/lib/site_ruby/1.9.1/rubygems.rb:187:in `try_activate'
from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:126:in `rescue in require'
from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:39:in `require'
from /www/redmine-2.4.7/config/boot.rb:6:in `<top (required)>'
from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require'
from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require'
from /www/redmine-2.4.7/config/application.rb:1:in `<top (required)>'
from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require'
from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require'
from /www/redmine-2.4.7/config/environment.rb:2:in `<top (required)>'
from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require'
from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require'
from /www/redmine-2.4.7/config.ru:3:in `block in <main>'
from /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `instance_eval'
from /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `initialize'
from /www/redmine-2.4.7/config.ru:1:in `new'
from /www/redmine-2.4.7/config.ru:1:in `<main>'
from /usr/lib/ruby/gems/1.9.1/gems/thin-1.6.3/lib/rack/adapter/loader.rb:33:in `eval'
from /usr/lib/ruby/gems/1.9.1/gems/thin-1.6.3/lib/rack/adapter/loader.rb:33:in `load'
from /usr/lib/ruby/gems/1.9.1/gems/thin-1.6.3/lib/rack/adapter/loader.rb:42:in `for'
from /usr/lib/ruby/gems/1.9.1/gems/thin-1.6.3/lib/thin/controllers/controller.rb:170:in `load_adapter'
from /usr/lib/ruby/gems/1.9.1/gems/thin-1.6.3/lib/thin/controllers/controller.rb:74:in `start'
from /usr/lib/ruby/gems/1.9.1/gems/thin-1.6.3/lib/thin/runner.rb:200:in `run_command'
from /usr/lib/ruby/gems/1.9.1/gems/thin-1.6.3/lib/thin/runner.rb:156:in `run!'
from /usr/lib/ruby/gems/1.9.1/gems/thin-1.6.3/bin/thin:6:in `<top (required)>'
from /usr/local/bin/thin:19:in `load'
from /usr/local/bin/thin:19:in `<main>'
Writing PID to tmp/pids/thin.0.pid
Changing process privilege to www-data:www-data
Using rack adapter
Exiting!
/usr/local/lib/site_ruby/1.9.1/rubygems/stub_specification.rb:127:in `missing_extensions?': undefined method `missing_extensions?' for nil:NilClass (NoMethodError)
from /usr/local/lib/site_ruby/1.9.1/rubygems/basic_specification.rb:64:in `contains_requirable_file?'
from /usr/local/lib/site_ruby/1.9.1/rubygems/specification.rb:939:in `block in find_inactive_by_path'
from /usr/local/lib/site_ruby/1.9.1/rubygems/specification.rb:938:in `each'
from /usr/local/lib/site_ruby/1.9.1/rubygems/specification.rb:938:in `find'
from /usr/local/lib/site_ruby/1.9.1/rubygems/specification.rb:938:in `find_inactive_by_path'
from /usr/local/lib/site_ruby/1.9.1/rubygems.rb:187:in `try_activate'
from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:126:in `rescue in require'
from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:39:in `require'
from /www/redmine-2.4.7/config/boot.rb:6:in `<top (required)>'
from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require'
from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require'
from /www/redmine-2.4.7/config/application.rb:1:in `<top (required)>'
from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require'
from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require'
from /www/redmine-2.4.7/config/environment.rb:2:in `<top (required)>'
from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require'
from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require'
from /www/redmine-2.4.7/config.ru:3:in `block in <main>'
from /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `instance_eval'
from /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `initialize'
from /www/redmine-2.4.7/config.ru:1:in `new'
from /www/redmine-2.4.7/config.ru:1:in `<main>'
from /usr/lib/ruby/gems/1.9.1/gems/thin-1.6.3/lib/rack/adapter/loader.rb:33:in `eval'
from /usr/lib/ruby/gems/1.9.1/gems/thin-1.6.3/lib/rack/adapter/loader.rb:33:in `load'
from /usr/lib/ruby/gems/1.9.1/gems/thin-1.6.3/lib/rack/adapter/loader.rb:42:in `for'
from /usr/lib/ruby/gems/1.9.1/gems/thin-1.6.3/lib/thin/controllers/controller.rb:170:in `load_adapter'
from /usr/lib/ruby/gems/1.9.1/gems/thin-1.6.3/lib/thin/controllers/controller.rb:74:in `start'
from /usr/lib/ruby/gems/1.9.1/gems/thin-1.6.3/lib/thin/runner.rb:200:in `run_command'
from /usr/lib/ruby/gems/1.9.1/gems/thin-1.6.3/lib/thin/runner.rb:156:in `run!'
from /usr/lib/ruby/gems/1.9.1/gems/thin-1.6.3/bin/thin:6:in `<top (required)>'
from /usr/local/bin/thin:19:in `load'
from /usr/local/bin/thin:19:in `<main>'
I do:
bundle exec thin start --config /www/redmine-2.4.7/config/redmine.yml
or
thin start --config /www/redmine-2.4.7/config/redmine.yml
Anyway this error are happens.
I use bunndle install totaly. all packages are installed.
also I have installeg ruby packages frim apt:
i A libruby1.9.1 - Libraries necessary to run Ruby 1.9.1
id libtcltk-ruby1.9.1 - Tcl/Tk interface for Ruby 1.9.1
i A ruby - Interpreter of object-oriented scripting l
i A ruby-blankslate - Ruby library providing a class with no pre
i ruby-builder - Ruby library to facilitate programatic gen
i A ruby-dev - Header files for compiling extension modul
i A ruby-hmac - Ruby interface for HMAC algorithm
i ruby-openid - Ruby library for verifying and serving Ope
i ruby-rack - Modular Ruby webserver interface
i ruby-redcarpet - Fast, safe and extensible Markdown to (X)H
i A ruby1.9.1 - Interpreter of object-oriented scripting l
i A ruby1.9.1-dev - Header files for compiling extension modul
i A ruby1.9.1-examples - Examples for Ruby 1.9
i ruby1.9.3 - Interpreter of object-oriented scripting l