Project

General

Profile

Uninitialized constant RAILS_ROOT

Added by Nico H. about 12 years ago

Hello folks,
I want to install a hosted git in redmine with this tutorial:
http://aeturnalus.com/software/redmine-git-hosting-setup-ubuntu-12-04-lts/

In step 4: The command "./script/plugin install https://github.com/kubitron/redmine_git_hosting.git" wont work, because in the dir script, there is no plugin file.
So I did a git clone in the "plugins/redmine_git_hosting" and tried installing the plugin with "rake redmine:plugins:migrate RAILS_ENV=production", but that failed.
Here the shell output:
----------------------
(in /usr/share/redmine)
rake aborted!
uninitialized constant RAILS_ROOT

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

What I´m doing wrong?
greetings


Replies (3)

RE: Uninitialized constant RAILS_ROOT - Added by Thomas Kuchs about 12 years ago

Same Problem here =(
Any suggestions?

Thx in advance.

RE: Uninitialized constant RAILS_ROOT - Added by Etienne Massip about 12 years ago

You can run command with --trace argument to get more details, but I think that this pluginis not yet compatible with Redmine 2.x, RAILS_ROOT must have been replaced by Rails.root.

RE: Uninitialized constant RAILS_ROOT - Added by John Kubiatowicz about 12 years ago

As the maintainer of that plugin, I can tell you for a fact that it is not yet compatible with Redmine 2.x (look at the compatibility information at the top of the README).

    (1-3/3)