Skip to content

Commit

Permalink
Rename Gemfile to gems.rb
Browse files Browse the repository at this point in the history
In v2.0, Bundler will move from `Gemfile` (and `Gemfile.lock`) to
`gems.rb` (and `gems.locked`) as the default filenames for those files.
In the meantime, the new filenames are already supported by recent
releases of Bundler.

It's time to move boldly into the future.

Note that Bundler began acknowledging the new gem file format as of
v1.8, hence the `bundler` version requirement bump.

Reference: https://depfu.com/blog/2017/09/06/gemfiles-new-clothes
  • Loading branch information
craiglittle committed Jun 9, 2018
1 parent 6963770 commit a073ae4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
*.gem
.bundle
Gemfile.lock
gems.locked
pkg
bin/
coverage/
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ rvm:

cache: bundler

gemfile: gems.rb

bundler_args: --without benchmark development

before_install: gem update --system
Expand Down
2 changes: 1 addition & 1 deletion Gemfile → gems.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

group :development do
gem 'bump', '~> 0.6.0', require: false
gem 'bundler', '~> 1.0', require: false
gem 'bundler', '~> 1.8', require: false
end

group :ci, :development do
Expand Down

0 comments on commit a073ae4

Please sign in to comment.