Booting up localhost, I type in 'rails s' into my terminal. I get this error:
Traceback (most recent call last):
5: from bin/rails:3:in `<main>'
4: from bin/rails:3:in `load'
3: from /Users/macbookpro/flippingUnleashedCRM/bin/spring:10:in `<top (required)>'
2: from /Users/macbookpro/flippingUnleashedCRM/bin/spring:10:in `new'
1: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/bundler/lockfile_parser.rb:95:in `initialize'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/bundler/lockfile_parser.rb:108:in `warn_for_outdated_bundler_version': You must use Bundler 2 or greater with this lockfile. (Bundler::LockfileError)
So, I type in bundler --version
to see what I am using. The result is:
Bundler version 2.2.11
I take a look in my Gemfile.lock, I scroll down, and I see:
RUBY VERSION
ruby 2.5.1p57
BUNDLED WITH
2.2.11
What the heck is the problem?