Skip to content

Commit 37f4073

Browse files
committed
No need to install bundler since it is a default gem since Ruby 2.6
This commit removes "gem install bundler --conservative" command from `bin/setup` command because bundler is installed as a default gem since Ruby 2.6.0. * Ruby 2.6.0 Released https://www.ruby-lang.org/en/news/2018/12/25/ruby-2-6-0-released/ > Bundler is now installed as a default gem. The current Rails main branch requires Ruby 3.1.0 that is higher than 2.6.0. https://github.com/rails/rails/blob/8bac99ad7a403ef52a5c97e7afa73c7bbcc67110/rails.gemspec#L12
1 parent 8bac99a commit 37f4073

File tree

1 file changed

+0
-1
lines changed
  • railties/lib/rails/generators/rails/app/templates/bin

1 file changed

+0
-1
lines changed

railties/lib/rails/generators/rails/app/templates/bin/setup.tt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ FileUtils.chdir APP_ROOT do
1313
# Add necessary setup steps to this file.
1414

1515
puts "== Installing dependencies =="
16-
system! "gem install bundler --conservative"
1716
system("bundle check") || system!("bundle install")
1817
<% if using_node? -%>
1918

0 commit comments

Comments
 (0)