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

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. fresh installation of 4.2.9

fresh installation of 4.2.9

Added by Philipp Reske over 9 years ago

Hello,

I just performed a fresh installation of Openproject CI version 4.2.9 on a CentOS/Plesk server. I did follow this guide (https://community.openproject.org/topics/5360) and so far, so well, but after my first startup of the application, I get this:

cannot load such file -- bundler/setup (LoadError) /opt/openproject-ce/vendor/ruby-2.1.6/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require' /opt/openproject-ce/vendor/ruby-2.1.6/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require' /usr/share/passenger/phusion_passenger/loader_shared_helpers.rb:399:in `activate_gem' /usr/share/passenger/phusion_passenger/loader_shared_helpers.rb:277:in `block in run_load_path_setup_code' /usr/share/passenger/phusion_passenger/loader_shared_helpers.rb:404:in `running_bundler' /usr/share/passenger/phusion_passenger/loader_shared_helpers.rb:276:in `run_load_path_setup_code' /usr/share/passenger/helper-scripts/rack-preloader.rb:99:in `preload_app' /usr/share/passenger/helper-scripts/rack-preloader.rb:153:in `<module:App>' /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>' /usr/share/passenger/helper-scripts/rack-preloader.rb:28:in `<main>'

As OpenProject is pretty new for me - how can I start pining down the problem?


Replies (2)

RE: fresh installation of 4.2.9 - Added by Oliver Günther over 9 years ago

Hey Philipp,

passenger seems to fail to find/load bundler. It is likely a missing configuration setting that lets passenger use our vendored gems.

In the guide you mentioned someone else seemed to have the same problem: https://community.openproject.org/topics/5360?r=5763#message-5763

Best,
Oliver

RE: fresh installation of 4.2.9 - Added by Philipp Reske over 9 years ago

Hello Oliver,

I followed the advise and installed bundler and autoprefixer-rails using
@
gem install bundler
gem install autoprefixer-rails
@

Installation was done as user openproject, who is also the owner of the complete /opt/openproject-ce folder

I don’t have the “old” error anymore, but a next / new one - which does not really make sense:

@
There was an error while trying to load the gem ‘autoprefixer-rails’. (Bundler::GemRequireError)
/opt/openproject-ce/vendor/ruby-2.1.6/lib/ruby/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:80:in `rescue in block (2 levels) in require’
/opt/openproject-ce/vendor/ruby-2.1.6/lib/ruby/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:76:in `block (2 levels) in require’
/opt/openproject-ce/vendor/ruby-2.1.6/lib/ruby/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:72:in `each’
/opt/openproject-ce/vendor/ruby-2.1.6/lib/ruby/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:72:in `block in require’
/opt/openproject-ce/vendor/ruby-2.1.6/lib/ruby/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:61:in `each’
/opt/openproject-ce/vendor/ruby-2.1.6/lib/ruby/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:61:in `require’
/opt/openproject-ce/vendor/ruby-2.1.6/lib/ruby/gems/2.1.0/gems/bundler-1.11.2/lib/bundler.rb:99:in `require’
/opt/openproject-ce/config/application.rb:67:in `block in <top (required)>’
/opt/openproject-ce/config/application.rb:43:in `block in bench’
/opt/openproject-ce/vendor/ruby-2.1.6/lib/ruby/2.1.0/benchmark.rb:279:in `measure’
/opt/openproject-ce/config/application.rb:42:in `bench’
/opt/openproject-ce/config/application.rb:66:in `<top (required)>’
/opt/openproject-ce/config/environment.rb:31:in `require’
/opt/openproject-ce/config/environment.rb:31:in `<top (required)>’
config.ru:32:in `require’
config.ru:32:in `block in

’
/opt/openproject-ce/vendor/bundle/ruby/2.1.0/gems/rack-1.4.7/lib/rack/builder.rb:51:in `instance_eval’
/opt/openproject-ce/vendor/bundle/ruby/2.1.0/gems/rack-1.4.7/lib/rack/builder.rb:51:in `initialize’
config.ru:1:in `new’
config.ru:1:in `

’
/usr/share/passenger/helper-scripts/rack-preloader.rb:107:in `eval’
/usr/share/passenger/helper-scripts/rack-preloader.rb:107:in `preload_app’
/usr/share/passenger/helper-scripts/rack-preloader.rb:153:in `module:App’
/usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `module:PhusionPassenger’
/usr/share/passenger/helper-scripts/rack-preloader.rb:28:in `

’
@

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