Closed vegardx closed 12 years ago
Little update, I disabled the cache for git, and now it works.
Ok. Can you tell me more about your environment?
On bash, do:
prompt% cd REDMINE_ROOT
prompt% export RAILS_ENV=production
prompt% ./scripts/about
Hi!
About your application's environment Ruby version 1.9.3 (x86_64-linux) RubyGems version 1.8.23 Rack version 1.4 Rails version 2.3.14 Active Record version 2.3.14 Active Resource version 2.3.14 Action Mailer version 2.3.14 Active Support version 2.3.14 Edge Rails revision unknown Application root /usr/share/redmine Environment production Database adapter mysql Database schema version 20120904060609
About your Redmine plugins Redmine Git Hosting Plugin 0.5.0x
Thanks. I think that this is related to Ruby 1.9.3. I'll fix it today (have to run to a meeting now). Will you be available to check a patch later?
Most likely! Just ping me here or on IRC (vegardx@EFnet).
Sorry -- forgot to ping you.
Can you try pulling from master and see if it fixes your problem?
No worries!
I took some time because I for some obscure reason managed to pull an old version for someone who had forked it, and started working my way through errors to get a patch ready. When I finally got it working, i noticed that it was 0.4.x and from someone else. Blargh!
Other than that, your fix worked wonders! :-)
Ok. So, you are working on 0.5.0x+? (i.e. latest patches from head of master).
Let me know whether there are any other problems.
Yes, so far everything seem to be working with caching enabled, thanks! As far as I can tell this bug has been squished.
Ok. I'm closing it out.
@vegardx, you may want to pull from master. Turns out that there was a problem with the post-receive hook with Ruby 1.9.x which is probably preventing updates from being propagated to Redmine properly (you will notice that the repository link is never updated if you have caching set to "until next update").
I'll give it a go as soon as I have some time available!
Redmine: 1.4.4 Rails: 2.3.14 Gem: 1.8.23 Apache2 + passenger
I'm having an issue with rendering the project repository view, and with my limited knowledge of Ruby the production.log is somewhat hard to understand. I've checked closed bugs, and found one with the same issue. He was told to try the testing branch. In a later comment it was said to have been merged with master.
Copy of the error messge: