```ruby
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)

Gem::Specification.find_by_name('bundler', '~> 2.0.1').activate # activate latest bundler version
require 'bundler/setup' # Set up gems listed in the Gemfile.
require 'bootsnap/setup' # Faster startup
```

Revert "Bundler version bug still not fixed"
user
```ruby
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)

Gem::Specification.find_by_name('bundler').activate # activate latest bundler version
require 'bundler/setup' # Set up gems listed in the Gemfile.
require 'bootsnap/setup' # Faster startup
```
assistant