Uninitialized constant RAILS_ROOT
I want to install a hosted git in redmine with this tutorial:
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:
uninitialized constant RAILS_ROOT
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)
What I´m doing wrong?
RE: Uninitialized constant RAILS_ROOT - Added by Thomas Kuchs almost 10 years ago
Same Problem here =(
Thx in advance.
RE: Uninitialized constant RAILS_ROOT - Added by Etienne Massip almost 10 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
RE: Uninitialized constant RAILS_ROOT - Added by John Kubiatowicz over 9 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).