Skip to content

Commit 277ca62

Browse files
committed
Update rails/sprockets default branch from master to main
This commit addresses this bundle install failure that is used in CI. ``` % BUNDLE_GEMFILE=gemfiles/Gemfile.rails-6.0.x.sprockets-4.x bundle install Fetching https://github.com/rails/sprockets.git fatal: Needed a single revision Git error: command `git rev-parse --verify master` in directory /Users/yahonda/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/cache/bundler/git/sprockets-67c51ee2a2e0410ca1e13d6e1277668b7a11b6c3 has failed. Revision master does not exist in the repository https://github.com/rails/sprockets.git. Maybe you misspelled it? If this error persists you could try removing the cache directory '/Users/yahonda/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/cache/bundler/git/sprockets-67c51ee2a2e0410ca1e13d6e1277668b7a11b6c3' % ```
1 parent 1f63487 commit 277ca62

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gemfiles/Gemfile.rails-5.2.x.sprockets-4.x

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ gemspec path: '..'
44

55
gem 'actionpack', '~> 5.2.0'
66
gem 'railties', '~> 5.2.0'
7-
gem 'sprockets', github: 'rails/sprockets', branch: 'master'
7+
gem 'sprockets', github: 'rails/sprockets', branch: 'main'

gemfiles/Gemfile.rails-6.0.x.sprockets-4.x

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ gemspec path: '..'
44

55
gem 'actionpack', '~> 6.0.0'
66
gem 'railties', '~> 6.0.0'
7-
gem 'sprockets', github: 'rails/sprockets', branch: 'master'
7+
gem 'sprockets', github: 'rails/sprockets', branch: 'main'

0 commit comments

Comments
 (0)