Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 399503 - www-apps/redmine-1.3.0 emerge --config and rake db:migrate failing
Summary: www-apps/redmine-1.3.0 emerge --config and rake db:migrate failing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-20 11:52 UTC by Mark Zhitomirski
Modified: 2012-02-26 13:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Zhitomirski 2012-01-20 11:52:05 UTC
Error message says: 
Missing these required gems:
  rubytree  >= 0

Probably rubytree is not needed and should be commented out in config/environment.rb.
See http://www.redmine.org/issues/9798 and http://www.redmine.org/projects/redmine/repository/revisions/8214
Comment 1 Mark Zhitomirski 2012-01-20 14:44:43 UTC
my workaround was to implement Redmine's http://www.redmine.org/projects/redmine/repository/revisions/8214

as follows:

cd ~redmine/lib/redmine
mv menu_manager.rb menu_manager.rb.orig
wget http://www.redmine.org/projects/redmine/repository/revisions/8214/raw/trunk/lib/redmine/menu_manager.rb

cd ~redmine/test/unit/lib/redmine/menu_manager
mv menu_item_test.rb menu_item_test.rb.orig
wget http://www.redmine.org/projects/redmine/repository/revisions/8214/raw/trunk/test/unit/lib/redmine/menu_manager/menu_item_test.rb

rm -rf ~redmine/vendor/gems/rubytree-0.5.2/

This allowed me to run
RAILS_ENV=production rake db:migrate

and quick check shows that Redmine runs OK.

Please note, this is not what upstream wanted you to do - probably warning "Rake 0.8.7 is required (rake 0.9.x is not supported by Rails yet)" in http://www.redmine.org/projects/redmine/wiki/RedmineInstall should be considered. Here i have dev-ruby/rake-0.9.2.2 and maybe blocking >=dev-ruby/rake-0.9 could help too.
Comment 2 Mark Zhitomirski 2012-01-20 22:31:40 UTC
Nope, same error when using dev-ruby/rake-0.8.7-r6 
(In reply to comment #1)

> "Rake 0.8.7 is required (rake 0.9.x is not supported by Rails yet)" in
> http://www.redmine.org/projects/redmine/wiki/RedmineInstall should be
> considered. Here i have dev-ruby/rake-0.9.2.2 and maybe blocking
> >=dev-ruby/rake-0.9 could help too.
Comment 3 MATSUU Takuto (RETIRED) gentoo-dev 2012-02-26 13:58:54 UTC
fixed.
1.3.1 in cvs.