Error: no such file to load -- phusion_passenger/analytics_logger
Added by Yungwei Chen almost 13 years ago
Hi,
I installed redmine-1.2.1 on a CentOS 5 machine.
I am able to create a new user in redmine when using webrick so that means the db settings are correct.
I then use an apache web server to host redmine.
Now accessing http://192.168.16.12/redmine from my web browser shows a Phusion Passenger error page saying "no such file to load -- phusion_passenger/analytics_logger". How can I fix this problem? Thanks.
I appended the following to /etc/httpd/conf/httpd.conf:
<VirtualHost *:80> ServerName redmine.xxx.com ServerAdmin webmaster@xxx.com DocumentRoot /var/www/redmine/public/ ErrorLog logs/redmine_error_log alias /redmine /var/www/redmine/public <Directory "/var/www/redmine/public/"> Options Indexes ExecCGI FollowSymLinks AddHandler cgi-script .cgi .rb Order allow,deny Allow from all AllowOverride all </Directory> </VirtualHost>
Also created /etc/httpd/conf.d/redmine.conf with the following content:
LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.9/ext/apache2/mod_passenger.so PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.9 PassengerRuby /usr/local/bin/ruby
Replies (3)
RE: Error: no such file to load -- phusion_passenger/analytics_logger
-
Added by Yungwei Chen almost 13 years ago
I do find analytics_logger.rb on the CentOS box.
[root@oredmine redmine]# find / -name analytics_logger*
/usr/local/lib/ruby/gems/1.8/doc/passenger-3.0.9/rdoc/files/lib/phusion_passenger/analytics_logger_rb.html
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.9/test/ruby/analytics_logger_spec.rb
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.9/lib/phusion_passenger/analytics_logger.rb
RE: Error: no such file to load -- phusion_passenger/analytics_logger
-
Added by Yungwei Chen almost 13 years ago
I installed the following:
redmine 1.2.1
ruby 1.8.7 (2008-05-31 patchlevel 0) [i686-linux]
rubygem 1.4.2
httpd 2.2.21
gems:
bundler (1.0.18)
coderay (0.9.8)
daemon_controller (0.2.6)
fastthread (1.0.7)
hoe (2.12.3)
i18n (0.4.2)
mysql (2.8.1)
passenger (3.0.9)
rack (1.3.3, 1.1.0)
rake (0.9.2, 0.8.3)
RedCloth (4.2.8)
rubytree (0.5.2)
redmine is in /var/www/redmine folder, which is owned by root:root, and 0755 is granted to everything in /var/www/redmine folder.
RE: Error: no such file to load -- phusion_passenger/analytics_logger
-
Added by Yungwei Chen almost 13 years ago
http://www.redmine.org/boards/2/topics/26430?r=2643 helps me fix the problem.