嗯,我必须承认,我今天失望了。我已经更新了我的Ubuntu,这使得Redmine 2.1.2完全死了。关于我应该更新或重新配置的任何建议?我试图不盲目地使用Ruby / Rails / Passenger,但它很难,因为它不是我的专业知识。我想改用Redmine。
以下是乘客错误日志的顶部,但请随时查看http://redmine.teacloud.net处的整页:
It looks like Bundler could not find a gem. Maybe you didn't install all the gems that this application needs. To install your gems, please run: bundle install If that didn't work, then the problem is probably caused by your application being run under a different environment than it's supposed to. Please check the following: Is this app supposed to be run as the nobody user? Is this app being run on the correct Ruby interpreter? Below you will see which Ruby interpreter Phusion Passenger attempted to use. -------- The exception is as follows: ------- Could not find rake-10.3.2 in any of the sources (Bundler::GemNotFound) /var/lib/gems/1.8/gems/bundler-1.3.4/lib/bundler/spec_set.rb:92:in `block in materialize'
•我不知道该应用应该以什么用户身份运行。其他所有内容都默认使用www-data,但文件系统中的redmine应用程序文件夹是root用户的所有者。
•所有东西都在ruby 1.8上工作了两年,现在不在我的系统上。我设法安装最低版本1.8.7,最新2.1.2 ......我不知道1.9.1从哪里来。
•我不明白'捆绑安装'和'捆绑更新'与使用rvm切换到当前ruby版本有关。
•我不确定,如果我需要升级Redmine(我有备份),我的Redmine MySQL数据库将在什么时候被迁移或销毁。
•bundle install没有帮助,Apache运行ruby 1.9.1
答案 0 :(得分:0)
解决方案如下(整个故障路径记录在此http://www.redmine.org enter code here
/ boards / 2 / topics / 43500?r = 43514):
•一切都发生在Redmine的安装文件夹中:
•去了GitHub(https://github.com/redmine/redmine/blob/master/Gemfile)并将新数据库部分复制到Redmine的Gemfile(忽略了我有Redmine 2.1.2并且Gemfile更新的事实)
$ rvm use system
$ bundle install