Skip to content

Commit

Permalink
Removed and gitignored Gemfile.lock and .bundle from the repository
Browse files Browse the repository at this point in the history
  • Loading branch information
rmm5t committed Jan 31, 2011
1 parent a6e7d11 commit 304ad5b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 115 deletions.
2 changes: 0 additions & 2 deletions .bundle/config

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -7,3 +7,5 @@ pkg
*.swo
tags
tmp
.bundle
Gemfile.lock
113 changes: 0 additions & 113 deletions Gemfile.lock

This file was deleted.

4 comments on commit 304ad5b

@jferris
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Gemfile.lock file is supposed to be checked into version control: http://gembundler.com/

It's how you make sure that everybody is using the same versions to develop.

@rmm5t
Copy link
Collaborator Author

@rmm5t rmm5t commented on 304ad5b Jan 31, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Joe, For applications, yes; gem libraries, no. To handle picky versions with gem libraries, the versions should be declared as such in the gemspec.

See http://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/

@jferris
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad, Ryan - I didn't see that post.

@rmm5t
Copy link
Collaborator Author

@rmm5t rmm5t commented on 304ad5b Jan 31, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Joe, With that said, if you want to tie down the development dependencies in the gemspec to something more concrete than using the ~> operator, that seems reasonable. I should also mention that the commit following this one is necessary to see the whole picture. c7b35378

Please sign in to comment.