Project

General

Profile

1.4.0: GemfileNotFound during loading

Added by Eric Voisard about 12 years ago

Hi,

I just made the step from 1.3.3 to 1.4.0. First step to "bundler" implementation.
I had some problems during the installation: some optional gems such as postgresql were required even when using mysql.

But now I'm getting another issue: Redmine returns the "Application error" page when I try to access the site. In Apache error log I can see it's the bundler that wants to read a Gemfile that it expects being at the document root of the Apache server.

/usr/lib64/ruby/gems/1.8/gems/bundler-1.2.1/lib/bundler/definition.rb:15:in `build': /srv/www/htdocs/Gemfile not found (Bundler::GemfileNotFound)

But my Redmine install is not at the document root, it has a relative url. There is something else at the document root.

The physical path to my Gemfile is different. So my question: where should I look to make Bundler look at the correct place?

Thanks for your help, Eric