Permalink
Browse files

Update to latest bundler best practices.

- Initialize bundler using require 'bundler/setup'
- Do not include Gemfile.lock in repository.
  • Loading branch information...
1 parent 7179331 commit 168c5e5441530d27df96d0aed10a8ce6f2ec659f @wvanbergen committed Dec 19, 2010
Showing with 2 additions and 59 deletions.
  1. +1 −0 .gitignore
  2. +0 −56 Gemfile.lock
  3. +1 −3 spec/spec_helper.rb
View
1 .gitignore
@@ -5,3 +5,4 @@ http_status_exceptions-*.gem
/coverage
.DS_Store
/.bundle
+Gemfile.lock
View
56 Gemfile.lock
@@ -1,56 +0,0 @@
-PATH
- remote: .
- specs:
- http_status_exceptions (0.3.0)
- actionpack (>= 3)
- rack (>= 1.2.1)
-
-GEM
- remote: http://rubygems.org/
- specs:
- abstract (1.0.0)
- actionpack (3.0.3)
- activemodel (= 3.0.3)
- activesupport (= 3.0.3)
- builder (~> 2.1.2)
- erubis (~> 2.6.6)
- i18n (~> 0.4)
- rack (~> 1.2.1)
- rack-mount (~> 0.6.13)
- rack-test (~> 0.5.6)
- tzinfo (~> 0.3.23)
- activemodel (3.0.3)
- activesupport (= 3.0.3)
- builder (~> 2.1.2)
- i18n (~> 0.4)
- activesupport (3.0.3)
- builder (2.1.2)
- diff-lcs (1.1.2)
- erubis (2.6.6)
- abstract (>= 1.0.0)
- i18n (0.5.0)
- rack (1.2.1)
- rack-mount (0.6.13)
- rack (>= 1.0.0)
- rack-test (0.5.6)
- rack (>= 1.0)
- rake (0.8.7)
- rspec (2.2.0)
- rspec-core (~> 2.2)
- rspec-expectations (~> 2.2)
- rspec-mocks (~> 2.2)
- rspec-core (2.2.1)
- rspec-expectations (2.2.0)
- diff-lcs (~> 1.1.2)
- rspec-mocks (2.2.0)
- tzinfo (0.3.23)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- actionpack (>= 3)
- http_status_exceptions!
- rack (>= 1.2.1)
- rake
- rspec (~> 2)
View
4 spec/spec_helper.rb
@@ -1,7 +1,5 @@
require 'rubygems'
-require 'bundler'
-
-Bundler.setup
+require 'bundler/setup'
require 'rspec'
require 'http_status_exceptions'

0 comments on commit 168c5e5

Please sign in to comment.