Project

General

Profile

Unable to successfully install redmine_charts2 plugin

Added by Andy Hewitt almost 11 years ago

Hello,

We have a production Redmine environment that is running fine.

I'm trying to install redmine_charts2 plugin, to be able to display burndown charts.

This is my first time installing a Redmine plugin, and I'm unable to get plugin to install successfully.

Any guidance or help would be much appreciated!

My environment is:

Linux version 2.6.32-5-amd64 (Debian 2.6.32.41)

Environment:
Redmine version 2.3.0.stable
Ruby version 2.0.0 (x86_64-linux)
Rails version 3.2.13
Environment production
Database adapter Mysql2
Redmine plugins:
no plugin installed

The steps I followed:

1. install redmine_charts2 in /opt/redmine/plugins/redmine_charts
2. install open_flash_chart in /opt/redmine/plugins/open_flash_chart
3. cd /opt/redmine; cp -r plugins/open_flash_chart/assets public/plugin_assets/open_flash_chart
4. cd /opt/redmine; rake redmine:plugins RAIL_ENV=production

The error I get is: "rake aborted! database configuration does not specify adapter"

What am I missing?

Thank you,
Andy


Replies (2)

RE: Unable to successfully install redmine_charts2 plugin - Added by Ivan Cenov almost 11 years ago

RAIL_ENV=production
must be
RAILS_ENV=production

RE: Unable to successfully install redmine_charts2 plugin - SOLVED - Added by Andy Hewitt almost 11 years ago

That fixed it. I knew it must be something silly. Thanks - for 2nd pair of eyes!

    (1-2/2)