Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Plugins
  1. OpenProject
  2. Forums
  3. Plugins
  4. [Cost]Dependency error during installation

[Cost]Dependency error during installation

Added by Bastien Semene over 10 years ago

Hi,

  • This is a fresh install of OP3.

  • Here is my Gemfile.plugins:

    gem "openproject-costs", git: "https://github.com/finnlabs/openproject-costs.git", :branch => "stable"

  • Here is the error message:

    Updating https://github.com/finnlabs/openproject-costs.git
    Fetching gem metadata from https://rubygems.org/.........
    Resolving dependencies...
    Could not find gem 'openproject-plugins (~> 3.0.8) ruby', which is required by gem 'openproject-costs (>= 0) ruby', in any of the sources.

Any advice on how I can resolve this ?


Replies (2)

RE: [Cost]Dependency error during installation - Added by Oliver Günther over 10 years ago

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.

RE: [Cost]Dependency error during installation - Added by Bastien Semene over 10 years ago

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.

  • (1 - 2/2)
Loading...