diff --git a/Gemfile.lock b/Gemfile.lock index 13819dc1498..4690b0f3d40 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -96,6 +96,7 @@ PATH railties (7.1.0.alpha) actionpack (= 7.1.0.alpha) activesupport (= 7.1.0.alpha) + irb rackup (>= 1.0.0) rake (>= 12.2) thor (~> 1.0) diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md index bb837438126..215c8cf3280 100644 --- a/railties/CHANGELOG.md +++ b/railties/CHANGELOG.md @@ -23,6 +23,13 @@ *Xavier Noria* +* Railties now requires the irb gem as a dependency, which means when you install Rails, irb will also + be installed as a gem. Rails will then use the installed version of irb for its console instead of + relying on Ruby's built-in version. + This ensures that Rails has access to the most up-to-date and reliable version of irb for its console. + + *Stan Lo* + * Use infinitive form for all rails command descriptions verbs. *Petrik de Heus* diff --git a/railties/railties.gemspec b/railties/railties.gemspec index f478ddc1a68..977f94d5929 100644 --- a/railties/railties.gemspec +++ b/railties/railties.gemspec @@ -44,6 +44,7 @@ Gem::Specification.new do |s| s.add_dependency "rake", ">= 12.2" s.add_dependency "thor", "~> 1.0" s.add_dependency "zeitwerk", "~> 2.6" + s.add_dependency "irb" s.add_development_dependency "actionview", version end