Defect #8969

rake aborted! undefined method `name' for "abstract":String

Added by poornima biradar almost 11 years ago. Updated almost 11 years ago.

Status:ClosedStart date:2011-08-02
Priority:UrgentDue date:
Assignee:-% Done:


Category:Gems support
Target version:-
Resolution:Duplicate Affected version:1.2.1


i am totally new to this , want to install redmine on ubuntu(version being installed is 1.2.1)
I am following installation instructions from

when i run

sudo rake db:migrate RAILS_ENV="production"

i get

rake aborted!
undefined method `name' for "abstract":String

following are the versions i am using ...

i18n (0.5.0, 0.4.2)
rack (1.2.3)
rails (3.0.9)
rake (0.9.2)
gem 1.8.6

please please help to resolve this issue... it will be of great help :)

rake_db_migrate.log - Log of "rake --trace db:migrate " (14.8 KB) Marco Scialino, 2011-08-05 14:51

Related issues

Duplicates Redmine - Defect #8325: undefined method `name' for "actionmailer":String (RubyGe... Closed 2011-05-09


#1 Updated by poornima biradar almost 11 years ago

After refering to the correct versions of rails and rack supported by redmine on
for redmine 1.2.1, i run following

sudo gem install rails -v=2.3.11
sudo gem install rack -v=1.1.0

i18n (0.5.0, 0.4.2)
rack (1.2.3, 1.1.2, 1.1.0)
rails (3.0.9, 2.3.11)
rake (0.9.2)
rubygems-update (1.8.6)

but still i get the same error

#2 Updated by Jean-Baptiste Barth almost 11 years ago

You shouldn't run the rake tasks with "sudo". And you could provide the trace of the task when adding a --trace option to the rake task, could be useful...

#3 Updated by Marco Scialino almost 11 years ago


I'm experiencing the very same problem too.
Differently from poornima biradar I did not use "sudo", but I got the same error.
Here is my config.

i18n (0.6.0, 0.5.0, 0.4.2)
rack (1.1.1)
rails (2.3.11)
rake (0.8.3)
gem 1.8.6
ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-linux]

Please also see attached file with output of task with --trace option

Hope this helps.


#4 Updated by Patrick Figel almost 11 years ago says that you need rake 0.8.7. You're using 0.8.3/0.9.2.

Try gem install rake -v 0.8.7

#5 Updated by Etienne Massip almost 11 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

RubyGems > 1.6 is not supported, check RedmineInstall.

Closed as duplicate of #8325.

Also available in: Atom PDF