0

I tried to install a ruby application. when it comes to a point where I install a bundle, I get the following error:

Bundler could not find compatible versions for gem "bundler":
  In Gemfile:
    activeadmin (>= 0) ruby depends on
      bundler (< 2.0, >= 1.3.0) ruby

  Current Bundler version:
    bundler (1.1.4)

This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?

when I tried gem install bundler everything seems to be correct with the following output

Successfully installed bundler-1.6.2
1 gem installed

but after re-entering install bundle, i get the same error as above... even when i uninstall bundler, i get this error-message...

what goes wrong?

thanks for your help.. heiko

Devraj
  • 294
  • 4
  • 14

1 Answers1

2

Try the following way and install again

gem uninstall bundler
gem install bundler --version '1.0.0'

Specify bundler version according to application need.

OR

To update all your gems:

gem update --system
gem update
Bharat soni
  • 2,686
  • 18
  • 27