From the gemfile man page, I learned there are two ways to import the gems you specified in the Gemfile. The bundle.setup will \"s
Gemfile
bundle.setup
Bundle.setup is not necessory for recently bundler version. in fact, when you run Bundler.require, it always try to setup correct $LOAD_PATH for you.
Bundle.setup
Bundler.require
$LOAD_PATH
the only need is:
require 'bundler' Bundler.require