Open link in a new tab

Content

Expand project menu

[Cost]Dependency error during installation

Hi,

Any advice on how I can resolve this ?

Message actions

Hi Bastien,

for installing plugins in the stable version of OP, you’ll need to add the openproject-plugins gem.

Add this line before “openproject-costs” in your Gemfile.plugins:

@ gem “openproject-plugins”, git: “https://github.com/opf/openproject-plugins.git”, :branch => “stable”@

Note that that plugin has been integrated in dev/18fbd53, thus the plugin is only required for 3.X versions.

Message actions

Hi Oliver,

Thanks.
I’m newbie to OP, so here is how I found myself blocked while searching :

  • I found nothing about plug-in installation in the OP wiki (I missed it ?)
  • Then I’ve gone to the Cost page that redirected me to the github page. There I found install documentation in the README. But it is said that the only requirement is openproject itself (named “openproject core”).

Now I have Cost plugin up&running, but I had another step to perform which is not documented:

RAILS_ENV="production" bundle exec rake assets:precompile

But explicitly said in the production logs:

ActionView::Template::Error (costs/costs.css isn't precompiled)

I think some very basic documentation is missing in the wiki or the OpenProject>>Plugin project page.