Closed three18ti closed 12 years ago
I stopped apache, renamed
/home/git/.gitolite/hooks/common/post-receive
to
/home/git/.gitolite/hooks/common/post-receive
and it reinstalled the plugin and checks out now.
Don't forget to update the path as #!/usr/bin/env ruby
does not work with RVM installs of Ruby.
#!/usr/local/rvm/rubies/default/bin/ruby
https://github.com/ericpaulbishop/redmine_git_hosting/issues/125
I had an issue with git not seeing ruby on the path because I installed ruby under chili with rvm. I solved the issue by symlinking chili's ruby under /usr/local/bin, which is in the git user's path.
https://github.com/ericpaulbishop/redmine_git_hosting/issues/150
When navigating to the plugin page under settings, I recieve a notification that:
I also get the following debug output in my ChiliProject Logs
However, when pushing to the server, this hook appears to execute:
First of all, who is "ours" (Could be git, www-data, chiliprojet; I have tried all three to no avail)?
Second, what does this hook do, and how can I prove it is actually executing?
Thanks, Jon
System Vitals: ChiliProject 3.0.0 ruby 1.8.7 (2011-12-28 patchlevel 357) [x86_64-linux] Rails 2.3.14 Ubuntu 11.10, 3.0.0-15-server, x86_64 Postgres 9.1