返回信息流本来是在那个Git楼里的帖子。单独分出来抢一点眼球。
Gitorious就是gitorious.org上运行的软件。Gitorious本身是开源的。如果能部署Gitorious是最好的。
但是,我用Git mainline版,似乎有问题。它自称依赖Rails2.3.8(见Gemfile),但是,http://stackoverflow.com/questions/5176782/uninitialized-constant-activesupportdependenciesmutex-nameerror
似乎某些部分和ActiveSupport::Dependencies::Mutex 这个东西有冲突,不同版本之间有微妙的不兼容性。
我对RubyOnRails不太熟悉,所以也不知道应该如何解决。
资料包括它自己的Readme,也有这个:https://gitorious.org/gitorious/pages/Rhel_Installation
一些提示:
随发行版自带的rubygem可能不是最新的。最好是只装ruby, ruby-devel, rubygem,然后其它的都用gem install来安装。
有没有熟悉Ruby on Rails的来一起尝试一下Gitorious?
这是一条镜像帖。来源:北邮人论坛 / soft-design / #40773同步于 2011/5/25
该镜像源已超过 30 天没有更新,可能在源站已被删除。
SoftDesign机器人发帖
[Git项目管理方案]求帮忙解决Gitorious安装的问题
wks
2011/5/25镜像同步3 回复
订阅后,新回复会通过你的通知中心匿名送达。
3 条回复
ActiveSupport::Dependencies::Mutex的问题。在所有的可以运行的脚本(比如Rakefile)中添加require 'thread',可以暂时解决这个问题。
其他问题:
- gitorious.yml, broker.yml, database.yml,需要给每个需要运行的环境(如development, production)都配置一遍(复制一份sample即可)。rake的时候,可以用RAILS_ENV=development指定运行环境的类型。
- 如果说rack 1.0.1无法载入,那么就把vendor里面所有的字符串1.0.1改成1.1.0
- 运行的时候,如果用webrick,那么发送的“注册确认邮件”是在命令行上显示的。点击里面的链接可以完成注册。
- ActiveMQ需要自己装,很好运行。ActiveMQ的5.5版本的默认端口是61616,而不是61613,需要注意。
现在的问题:似乎在连接ActiveMQ的时候出错了。
connect failed: private method `chomp' called for nil:NilClass will retry in 5
connect failed: private method `chomp' called for nil:NilClass will retry in 5
Timed out trying to send the message #<OpenStruct headers={:persistent=>true}, body="{\"command\":\"create_git_repository\",\"target_id\":7,\"arguments\":[\"f68/a59/f4fc24756d54cd95ca0daf0cceca084334.git\"],\"target_class\":\"Repository\"}"> to destination create_repo via broker default