Project

General

Profile

Actions

Defect #8607

closed

problem for installing RedMine1.2

Added by 获鼎 李 almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-06-15
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Here is my environment:

----------------------------------------------------
lihuod@zebra-gateway:~/redmine-1.2$ ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]
-----------------------------------------------------
lihuod@zebra-gateway:~/redmine-1.2$ gem -v
1.3.7
-----------------------------------------------------
lihuod@zebra-gateway:~/rubygems-1.3.7$ gem list --local | grep rack
rack (1.1.2)
----------------------------------------------------
lihuod@zebra-gateway:~/rubygems-1.3.7$ gem list --local | grep rake
rake (0.9.2)
----------------------------------------------------
lihuod@zebra-gateway:~/rubygems-1.3.7$ gem list --local | grep i18n
i18n (0.4.2)
-----------------------------------------------------
lihuod@zebra-gateway:~/rubygems-1.3.7$ mysqld --version
mysqld  Ver 5.1.41-3ubuntu12.10 for debian-linux-gnu on x86_64 ((Ubuntu))

I follow the official intstructions, and get the errors and warnings:

lihuod@zebra-gateway:~/redmine-1.2$ rake generate_session_store
rake/rdoctask is deprecated.  Use rdoc/task instead (in RDoc 2.4.2+)
WARNING: 'task :t, arg, :needs => [deps]' is deprecated.  Please use 'task :t, [args] => [deps]' instead.
    at /home/lihuod/redmine-1.2/lib/tasks/email.rake:170
lihuod@zebra-gateway:~/redmine-1.2$ rake db:migrate RAILS_ENV="production" 
rake/rdoctask is deprecated.  Use rdoc/task instead (in RDoc 2.4.2+)
WARNING: 'task :t, arg, :needs => [deps]' is deprecated.  Please use 'task :t, [args] => [deps]' instead.
    at /home/lihuod/redmine-1.2/lib/tasks/email.rake:170
rake aborted!
undefined method `more_results' for #<Mysql>

Tasks: TOP => db:migrate
(See full trace by running task with --trace)

EDIT(jbbarth): reformatted the description

Actions #1

Updated by Jean-Baptiste Barth almost 13 years ago

  • Status changed from New to Closed
  • Priority changed from Urgent to Normal
  • Resolution set to Invalid

Sorry, but Rails 2.3 (used by Redmine) is not compatible with rake 0.9.2. To be honest, even Rails 3.0 is not compatible with rake 0.9.x. You should install rake 0.8.7 with the following command : gem install rake -v=0.8.7 and stick with this version for now.

It wasn't mentionned in RedmineInstall so you couldn't know, I added it. Sorry for the inconvenience, but this time, it's not our fault ;-)

Actions

Also available in: Atom PDF