Redmine requires Bundler. But it's there!!

Added by Jérémy Chatard about 7 years ago

I'm upgrading from 1.3.2 to 1.4.1.

During the upgrade process, when running: rake generate_session_store

Redmine complains about Bundler. I then run

gem install bundler
bundle install --without development test rmagick postgresql // as described elsewhere.

The output seems good:

Using rake (0.9.2.2) 
Using activesupport (2.3.14) 
Using rack (1.1.3) 
Using actionpack (2.3.14) 
Using actionmailer (2.3.14) 
Using activerecord (2.3.14) 
Using activeresource (2.3.14) 
Using coderay (1.0.6) 
Using fastercsv (1.5.4) 
Using i18n (0.4.2) 
Using mysql (2.8.1) 
Using net-ldap (0.3.1) 
Using rails (2.3.14) 
Using ruby-openid (2.1.8) 
Using sqlite3 (1.3.6) 
Using tzinfo (0.3.33) 
Using bundler (1.1.3) 
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.

But when re-running rake generate_session_store, Redmine still complains about the following:

Redmine requires Bundler. Please install it with `gem install bundler`.

Is there any cache of something that Redmine use to not check the last config?

I'm using Ruby Enterprise, don't know if this makes any difference.

Thanks,
Jérémy

Replies (34)

RE: Redmine requires Bundler. But it's there!! - Added by Diluen Cheong about 7 years ago

Hmm, but I do have bundler installed. I don't know why Redmine isn't detecting it.

RE: Redmine requires Bundler. But it's there!! - Added by Etienne Massip about 7 years ago

Diluen Cheong wrote:

Hmm, but I do have bundler installed. I don't know why Redmine isn't detecting it.

WTH: Redmine requires Redmine 1.0.21 (you're using 1.0.15)

RE: Redmine requires Bundler. But it's there!! - Added by Diluen Cheong about 7 years ago

Etienne Massip wrote:

Diluen Cheong wrote:

Hmm, but I do have bundler installed. I don't know why Redmine isn't detecting it.

WTH: Redmine requires Redmine 1.0.21 (you're using 1.0.15)

My gem list says that bundler is version 1.1.3.

RE: Redmine requires Bundler. But it's there!! - Added by Etienne Massip about 7 years ago

Etienne Massip wrote:

Diluen Cheong wrote:

Hmm, but I do have bundler installed. I don't know why Redmine isn't detecting it.

WTH: Redmine requires Redmine 1.0.21 (you're using 1.0.15)

Then Passenger is not using the right Ruby VM.

RE: Redmine requires Bundler. But it's there!! - Added by Etienne Massip about 7 years ago

To Jérémy: really don't have a clue and I don't have a Lenny to make tests.

Did you remove Alex first quick patch, it could have some side effects?

Try setting RUBYOPT to "rubygems"?

RE: Redmine requires Bundler. But it's there!! - Added by Diluen Cheong about 7 years ago

Etienne Massip wrote:

Etienne Massip wrote:

Diluen Cheong wrote:

Hmm, but I do have bundler installed. I don't know why Redmine isn't detecting it.

WTH: Redmine requires Redmine 1.0.21 (you're using 1.0.15)

Then Passenger is not using the right Ruby VM.

Thx for suggestion, may I ask how to change the Passenger setting to detect the latest version of the RubyVM. (Using apache)

RE: Redmine requires Bundler. But it's there!! - Added by Etienne Massip about 7 years ago

Diluen Cheong wrote:

Thx for suggestion, may I ask how to change the Passenger setting to detect the latest version of the RubyVM. (Using apache)

You may ask but I'm sorry, I don't know Passenger :|

RE: Redmine requires Bundler. But it's there!! - Added by j mm over 6 years ago

Could you please specify the absolute path in ree? There are a good number of config/environment.rb within ree. Thanks.

Alex A wrote:

Try to add
[...]
into your config/environment.rb file, where /usr/local/lib/ruby/gems/1.8 your path to the gems.

RE: Redmine requires Bundler. But it's there!! - Added by j mm over 6 years ago

I am using REE as the default ruby interpreter and having this problem.

In .bash_profile I have written:
PATH=$HOME/ruby-enterprise/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
export PATH

But there is no output for:
echo $GEM_HOME

Neither for:
$whereis ruby
ruby:

Althoug there is for:
$ which ruby
~/ruby-enterprise/bin/ruby

If you advise me any changes to files inside ree, which is plenty of config files, please state absolute paths, from the Linux user folder. Thanks.

1 2 (26-34/34)