Project

General

Profile

Installation problems with CMI Plugin

Added by Jorge Gomez over 12 years ago

Hello,

I'm using the Bitnami Redmine Stack 1.1.3-1 with the following components:

- Redmine 1.1.3
- Apache 2.2.17
- ImageMagick 6.5.8
- MySQL 5.1.56
- Subversion 1.6.15
- Ruby 1.8.7-p334
- Rails 2.3.11
- RubyGems 1.6.2

I was trying to install the CMI plugin v0.9.4.1 for Redmine. After copying the redmine_cmi folder into /opt/bitnami/apps/redmine/vendor/plugins I ran the command

rake db:migrate_plugins RAILS_ENV=production

and I got the following messages:

(in /opt/bitnami/apps/redmine)
config.load_paths is deprecated and removed in Rails 3, please use autoload_paths instead
config.load_paths= is deprecated and removed in Rails 3, please use autoload_paths= instead
Migrating engines...
Migrating acts_as_activity_provider...
Migrating acts_as_attachable...
Migrating acts_as_customizable...
Migrating acts_as_event...
Migrating acts_as_list...
Migrating acts_as_searchable...
Migrating acts_as_tree...
Migrating acts_as_versioned...
Migrating acts_as_watchable...
Migrating awesome_nested_set...
Migrating classic_pagination...
Migrating gravatar...
Migrating open_id_authentication...
Migrating prepend_engine_views...
Migrating redmine_cmi...
Migrating rfpdf...
Migrating ruby-net-ldap-0.0.4...

When I tried to run the other commands the following message appeared:

rake db:migrate:plugin NAME=redmine_cmi RAILS_ENV=production
(in /opt/bitnami/apps/redmine)
config.load_paths is deprecated and removed in Rails 3, please use autoload_paths instead
config.load_paths= is deprecated and removed in Rails 3, please use autoload_paths= instead
Migrating redmine_cmi to latest version ...


rake cmi:create_data RAILS_ENV=production
(in /opt/bitnami/apps/redmine)
config.load_paths is deprecated and removed in Rails 3, please use autoload_paths instead
config.load_paths= is deprecated and removed in Rails 3, please use autoload_paths= instead
Default cmi configuration data loaded.

rake cmi:load_role_costs_history RAILS_ENV=production
(in /opt/bitnami/apps/redmine)
config.load_paths is deprecated and removed in Rails 3, please use autoload_paths instead
config.load_paths= is deprecated and removed in Rails 3, please use autoload_paths= instead

rake cmi:load_user_role_history RAILS_ENV=production
(in /opt/bitnami/apps/redmine)
config.load_paths is deprecated and removed in Rails 3, please use autoload_paths instead
config.load_paths= is deprecated and removed in Rails 3, please use autoload_paths= instead

rake cmi:recalculate_costs RAILS_ENV=production
(in /opt/bitnami/apps/redmine)
config.load_paths is deprecated and removed in Rails 3, please use autoload_paths instead
config.load_paths= is deprecated and removed in Rails 3, please use autoload_paths= instead

I don't understand why the error message refers to Rails 3 since I'm using Rails 2.3.11.

Does anyone know how to solve this problem?


Replies (1)

RE: Installation problems with CMI Plugin - Added by José M. Prieto over 12 years ago

You probably have another Rails installation alongside the Bitnami one. Run rake with the full path to the Bitnami binary. The one inside /opt/bitnami, I guess.

BTW, I'm publishing a new version in the next few weeks with lots of changes wich, among other things will be easier to use. So you'll maybe want to wait or check the plugin again when it is available.

    (1-1/1)