Skip to content
Browse files

Remove the Gemfile.lock from source control

- Best practice is to not check in the Gemfile.lock for gems.
- Read http://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile for a full explanation.
  • Loading branch information...
1 parent 6f36bf7 commit 915d0f42e3fca9336ef708db12b4590a763a3587 @robolson robolson committed May 22, 2011
Showing with 2 additions and 23 deletions.
  1. +1 −0 .gitignore
  2. +0 −22 Gemfile.lock
  3. +1 −1 border_patrol.gemspec
View
1 .gitignore
@@ -2,3 +2,4 @@
#*
*.sw*
.bundle
+/Gemfile.lock
View
22 Gemfile.lock
@@ -1,22 +0,0 @@
-PATH
- remote: .
- specs:
- border_patrol (0.1.0)
- nokogiri (= 1.4.3.1)
-
-GEM
- remote: http://rubygems.org/
- specs:
- nokogiri (1.4.3.1)
- progressbar (0.9.0)
- rake (0.8.7)
- rspec (1.3.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- border_patrol!
- progressbar
- rake
- rspec (~> 1.3.0)
View
2 border_patrol.gemspec
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
- root_files = %w(border_patrol.gemspec Rakefile README.markdown .gitignore Gemfile Gemfile.lock)
+ root_files = %w(border_patrol.gemspec Rakefile README.markdown .gitignore Gemfile)
s.files = Dir['{lib,spec}/**/*'] + root_files
s.test_files = Dir['spec/**/*']

0 comments on commit 915d0f4

Please sign in to comment.
Something went wrong with that request. Please try again.