ruby ./script/about returns error: uninitialized constant Class::PATH (NameError)
Added by Hung Nguyen Vu over 12 years ago
Anyone please help me fixing the following error?
Environment information can be found at the end of this message:
[root@redmine redmine]# ruby ./script/about
/var/www/redmine-2.0/config/application.rb:56:in `instance_eval': uninitialized constant Class::PATH (NameError)
from /var/www/redmine-2.0/config/application.rb:56:in `instance_eval'
from /var/www/redmine-2.0/config/application.rb:56:in `<class:Application>'
from /var/www/redmine-2.0/config/application.rb:13:in `<module:RedmineApp>'
from /var/www/redmine-2.0/config/application.rb:12:in `<top (required)>'
from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /var/www/redmine-2.0/config/environment.rb:4:in `<top (required)>'
from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from ./script/about:4:in `<main>'
[root@redmine redmine]# gem --version
1.8.23
http://<server>/admin/info
Redmine version 2.0.3.stable.9964
Ruby version 1.9.3 (i686-linux)
Rails version 3.2.6
CentOS 6.3