Permalink
Browse files

Use `require 'bundler/setup'` instead of calling Bundler.setup manually

  • Loading branch information...
sobrinho committed Sep 25, 2011
1 parent 71222a0 commit 152f04e967cd0bbb3dfce4f8c094cb43482c9e82
Showing with 2 additions and 4 deletions.
  1. +2 −4 spec/spec_helper.rb
View
@@ -1,8 +1,6 @@
# encoding: utf-8
require 'rubygems'
-require 'bundler'
-Bundler.setup
-
+require 'bundler/setup'
require 'active_support'
require 'action_pack'
require 'action_view'
@@ -409,4 +407,4 @@ def with_config(config_method_name, value, &block)
config.after(:all) do
DeferredGarbageCollection.reconsider unless ENV["DEFER_GC"] == "false"
end
-end
+end

0 comments on commit 152f04e

Please sign in to comment.