bundle exec rails … executes Bundler.setup 3 times Permalink for this post TL;DR: don’t run bundle exec before rails command, rails already checks the presence of Bundler through the Gemfile and sets up everything according to it without the overhead of bundle exec. rails command is the only exception to the rule. script/rails is the way to go. December 27, 2011 Link Bundler, Rails, Ruby
script/railsis the way to go.