I often see 2 variations in projects that use Bundler.
One is:
require "bundler/setup"
Bundler.require(:default)
And another:
require 'bundler'
Bundler.setup :default, (ENV['RACK_ENV'] || 'development')
Are tye both the same or have variations?
Google can be your friend. Read this and this.
TL;DR Use Bundler.require instead of Bundler.setup
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With