Project

General

Profile

Actions

Defect #8969

closed

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

Added by poornima biradar over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Category:
Gems support
Target version:
-
Start date:
2011-08-02
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

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 http://www.linuxgurru.com/2010/05/how-to-install-redmine-on-ubuntu/

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 :)


Files

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

Related issues

Is duplicate of Redmine - Defect #8325: undefined method `name' for "actionmailer":String (RubyGems > 1.6 not supported)Closed2011-05-09

Actions
Actions #1

Updated by poornima biradar over 13 years ago

After refering to the correct versions of rails and rack supported by redmine on http://www.redmine.org/projects/redmine/wiki/RedmineInstall
for redmine 1.2.1, i run following

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

now
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

Actions #2

Updated by Jean-Baptiste Barth over 13 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...

Actions #3

Updated by Marco Scialino over 13 years ago

Hi,

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.

Marco

Actions #4

Updated by Patrick Figel over 13 years ago

http://www.redmine.org/projects/redmine/wiki/RedmineInstall 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

Actions #5

Updated by Etienne Massip over 13 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.

Actions

Also available in: Atom PDF