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. Openproject will not run with apache - bundler version error

Openproject will not run with apache - bundler version error

Added by n blowfish over 10 years ago

Hi,

I have an openproject installation that runs ok with the rails server. I decided to do the apache install and be running it with apache now, but I keep getting the error :

  *   OpenProject requires bundler version >= 1.5.0   *
  *   Please install bundler with:                    *
  *   gem install bundler

I had installed bundler and ran openproject without a problem. Nonetheless I re-installed bundler. re-re-installed bundler. re-re-re-reinstalled bundler as every other user I could think of (as root, as openproject, even tried it once as apache but that did not work for lack of a home directory).

Quite frustrating! If anyone knows how to solve this problem, please help.


Replies (2)

RE: Openproject will not run with apache - bundler version error - Added by Brendan Dunn over 10 years ago

Hi

Are you getting any errors after you install the bundler ?

i.e. the command

gem install bundle

works ok so you then run

bundle install

and

bundle -v

and everything is ok ?
and you can access openproject on port 80 using apache2 ?
so when does this issue turn up ?
after a reboot, when you try to install other gems ?
does it occur when you are in different directories ?

cheers
Brendan

RE: Openproject will not run with apache - bundler version error - Added by n blowfish over 10 years ago

Hi,

I was able to resolve this by telling rvm which ruby version to use. Apparently, it was using the ruby installed by apt in /usr/local/bin which then tries to send bundler to the same location.

In my noobness, this is what I kept missing :

source $HOME/.rvm/scripts/rvm*
rvm autolibs disable
rvm install 2.12
rvm use 2.1.2

So long as I “source” and “use”, bundler will not complain. :-) .

Thanks!!

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