简体   繁体   中英

Bundler could not find compatible versions for gem “bundler” asking me for the incompatible versions of the bundler i have and the bundler required

I am new to ruby on rails and trying to install the bundle in my rails app and getting the same error this whole time ..

Bundler could not find compatible versions for gem "bundler": In Gemfile: bundler (= 1.0.18) ruby

Current Bundler version: bundler (1.7.4)

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

I have tried almost each suggestions that've been suggested but none so far worked for me. Can anybody help..?? Thank you in advance..

Usually, Bundler does not need to be on Gemfile.

You can remove the line that contains bundler in Gemfile, then run bundle again.

The reason this is failing is because your system has probably a newer version of bundler than the Gemfile is asking for.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM