Project

General

Profile

New install : Error message: undefined method `source_index' for Gem:Module

Added by Arca Num about 11 years ago

Hi everybody,

I have made a new fresh install of redmine on Ubuntu, and I have got this error when I got to the web browser :

Ruby on Rails application could not be started

These are the possible causes:
There may be a syntax error in the application's code. Please check for such errors and fix them.
A required library may not installed. Please install all libraries that this application requires.
The application may not be properly configured. Please check whether all configuration files are written correctly, fix any incorrect configurations, and restart this application.
A service that the application relies on (such as the database server or the Ferret search engine server) may not have been started. Please start that service.
Further information about the error may have been written to the application's log file. Please check it in order to analyse the problem.

Error message:
undefined method `source_index' for Gem:Module

Exception class:
NoMethodError

Application root:
/usr/share/redmine

I can give you all the stack trace if needed.

Versions :
Gem 2.0.2
Ruby 1.8.7
Ubuntu 12.10
Mysql
Apache 2

Do you have any idea ?

Ty


Replies (4)

RE: New install : Error message: undefined method `source_index' for Gem:Module - Added by S. Ruttloff about 11 years ago

Hello.

Did you follow the install instructions here: http://www.redmine.org/projects/redmine/wiki/RedmineInstall

I guess not?
If you run these - you got any failure?

Maybe you like to use a hosted Redmine, you can send a mail to (Hint: I'm the owner of this SaaS Solution platform www.SaaS-Secure.com)

Sven

RE: New install : Error message: undefined method `source_index' for Gem:Module - Added by Arca Num about 11 years ago

Thanks I'm going to try theses instructions, but there is nothing for Apache :/

I have followed french ubuntu official instructions

I am running it on a local server.

RE: New install : Error message: undefined method `source_index' for Gem:Module - Added by Arca Num about 11 years ago

Hm maybe it is because I have Gem 2.0.2 and the doc specified : RubyGems <= 1.8 ??

RE: New install : Error message: undefined method `source_index' for Gem:Module - Added by Arca Num about 11 years ago

I have tried thoses instructions : wildgeekery.net/how-to-setup-redmine-2-1-4-on-ubuntu-12-10/

Everything works fine now :)

Thanks for you help

    (1-4/4)