I've just started another thread in the problems forum related to the a Repository page error I'm encountering at the moment, but when I Googled the problem I found the following thread on the Redmine forums:
http://www.redmine.org/boards/1/topics/3189
Specifically, a user named Jerry mentioned the following:
"Glad to see that you've worked out your problem, though somewhat surprised to see that you are using FastCGI.
I'd highly recommend that you check out Phusion Passenger aka "mod_rails". It's really an excellent way to run your Rails apps under Apache.
j."
So I went to the mod_rails site:
http://www.modrails.com/
And it seemed really sweet and could make Ruby type development much, much easier...
A related thread on my issue in the Redmine forums also asks the question (why FastCGI?):
http://www.redmine.org/boards/2/topics/2349
The Google Query I used was:
redmine repository error "rails application failed"
Hope this can make its way into an upcoming release since it seems like it could simplify not only your development of JumpBoxes based on Ruby/Rails but also for developers :-).
Thanks for the reply Austin
Thank you for the reply, I will download the latest version :-).
I was just looking at the log files on the JumpBox and noticed that you guys were already using Phusion and I was getting errors in there like the following:
[Sat Apr 25 12:47:09 2009] [notice] Apache/2.2.8 (Ubuntu) DAV/2 SVN/1.4.6 Phusion_Passenger/2.1.2 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///var/data/svn/artcats'
svn: Can't open file '/var/data/svn/artcats/format': Permission denied
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///var/data/svn/artcats'
svn: Can't open file '/var/data/svn/artcats/format': Permission denied
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///var/data/svn/artcats'
svn: Can't open file '/var/data/svn/artcats/format': Permission denied
Error during failsafe response: closed stream
But since you mentioned it's already fixed in the newest version I will go download it and things should work fine :-).
Yep, this was the EXACT
Yep, this was the EXACT problem we fixed and released yesterday.
Austin
Replace FastCGI with mod_rails
Hi,
The JumpBoxes have never used fastcgi for Rails applications. They started out using mongrel and have recently been converted to mod_rails (passenger). Redmine was converted to passenger (mod_rails) as of release 1.1.7 on April 8th. In fact, that change was what introduced the bug you reported in the other thread, which, as I pointed out there, is why we released 1.1.9.
Austin
Ruby Enterprise Edition
Also, the same company that created mod_rails also has a specialized Ruby Enterprise Edition that reduces memory consumption by about 33%:
http://blog.phusion.nl/2009/04/22/ruby-enterprise-edition-186-20090421-r...
It also appears to be freely available and open source :-).
Ruby Enterprise Edition
We have considered using this though the benefits are not as obvious as switching to mod_rails was.
Austin