ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

'RAILS_ENV=production bundle exec rake db:migrate' fails, asked to 'gem install activerecord-chiliproject-adapter'

Added by Philippe Bernery at 2012-06-13 05:21 am

Hi,

I'm trying to install ChiliProject on my server but got an error at the db migration step.

My environment is Ubuntu 10.04.4, PostgreSQL 8.4.12. I use RVM to get Ruby, I use version 1.9.3.

I got ChiliProject from git, checked out the stable branch.
I created the database.yml and configuration.yml files. For the later, I didn't change anything from the default file though.
I called bundle install --path=vendor/
And then RAILS_ENV=production bundle exec rake db:migrate, but I got the following error:

rake aborted!
Please install the chiliproject adapter: `gem install activerecord-chiliproject-adapter` (cannot load such file -- active_record/connection_adapters/chiliproject_adapter)

Tasks: TOP => db:migrate => environment

Anyone got this issue or have an idea?
Thank you

Philippe


Replies (2)

RE: 'RAILS_ENV=production bundle exec rake db:migrate' fails, asked to 'gem install activerecord-chiliproject-adapter' - Added by Felix Schäfer at 2012-06-13 09:39 am

Hi Philippe,

On first sight I'd say your config/database.yml is misconfigured, make sure it looks something like those shown in point 4 of the Installation instructions.

RE: 'RAILS_ENV=production bundle exec rake db:migrate' fails, asked to 'gem install activerecord-chiliproject-adapter' - Added by Philippe Bernery at 2012-06-13 04:34 pm

Hi Felix,

You were right, I placed 'chiliproject' as the database adapter. I should'nt have done that so late...

Thank your for your help.

Philippe

(1-2/2)