This might shed some light on specifically dealing with it but basically you need to use a version of Bundler that the Gemfile will accept, because yours is too new for that particular Rails:
https://stackoverflow.com/questions/12092928/how-to-bundle-install-when-your-gemfile-requires-an-older-version-of-bundler On Thu, Mar 7, 2019 at 7:21 AM <brainiacs...@gmail.com> wrote: > Hey everyone, > > I just ran into the following errors while running bundle install. Please > advise. > > > Bundler could not find compatible versions for gem "bundler": > In Gemfile: > rails (= 4.2.4) was resolved to 4.2.4, which depends on > bundler (>= 1.3.0, < 2.0) > > Current Bundler version: > bundler (2.0.1) > This Gemfile requires a different version of Bundler. > Perhaps you need to update Bundler by running `gem install bundler`? > > Could not find gem 'bundler (>= 1.3.0, < 2.0)', which is required by gem > 'rails > (= 4.2.4)', in any of the sources. > > Bundler could not find compatible versions for gem "coffee-rails": > In Gemfile: > coffee-rails (~> 4.1.0) > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/ab45ac5b-678b-4d86-9d4a-d2a1b58b9114%40googlegroups.com > <https://groups.google.com/d/msgid/rubyonrails-talk/ab45ac5b-678b-4d86-9d4a-d2a1b58b9114%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Brandon McClelland User Support Technician Steve Jackson Games -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADuEqHKAPzZrFJ0xpP1e6ea0G3J3ZjKB0ux4U-ce-KzuLtZ90Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.