Content
You are here:
Openproject will not run with apache - bundler version error
Added by n blowfish almost 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)
Hi
Are you getting any errors after you install the bundler ?
i.e. the command
works ok so you then run
and
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
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!!