Bundlerの仕組みを十分に理解しているとは言い難かったので、深堀りしてみたい。 Bundler.setup http://bundler.io/bundler_setup.html Configure the load path so all dependencies in your Gemfile can be required まず最初にやるべきは依存関係にある全てのgemのロードパスを解決すること。Bundler.setupはまさにこの役割を担う。 少しコードを追って見る。 https://github.com/bundler/bundler/blob/v1.9.2/lib/bundler.rb#L114-L139 def setup(*groups) # Just return if all groups are already loaded return @setup if