Skip to content

Commit a6e0b0a

Browse files
committed
Add readline-ext that has been removed from Ruby 3.3.0dev
Address these Rails CI failures: https://buildkite.com/rails/rails/builds/96301#01880117-acb1-4d77-935a-4a1de13c8609/1093-1101 Refer to https://bugs.ruby-lang.org/issues/19616 ruby/ruby#7781 ```ruby $ ruby -v ruby 3.3.0dev (2023-05-09T19:40:26Z master e1c84e8ee6) [x86_64-linux] $ cd railties $ bin/test test/application/console_test.rb ... snip ... .F Failure: FullStackConsoleTest#test_environment_option_and_irb_option [/home/yahonda/src/github.com/rails/rails/railties/test/application/console_test.rb:133]: "> " expected, but got: Loading test environment (Rails 7.1.0.alpha) Switch to inspect mode. ▽. Expected # encoding: ASCII-8BIT "Loading test environment (Rails 7.1.0.alpha)\r\nSwitch to inspect mode.\r\n\e[1G\xE2\x96\xBD\e[6n" to include "> ". bin/test test/application/console_test.rb:167 ^[[30;2RF Failure: FullStackConsoleTest#test_sandbox [/home/yahonda/src/github.com/rails/rails/railties/test/application/console_test.rb:133]: "> " expected, but got: Loading development environment in sandbox (Rails 7.1.0.alpha) Any modifications you make will be rolled back on exit ▽. Expected # encoding: ASCII-8BIT "Loading development environment in sandbox (Rails 7.1.0.alpha)\r\nAny modifications you make will be rolled back on exit\r\n\e[1G\xE2\x96\xBD\e[6n" to include "> ". bin/test test/application/console_test.rb:139 ^[[30;2R...... Finished in 66.153595s, 0.1360 runs/s, 0.2872 assertions/s. 9 runs, 19 assertions, 2 failures, 0 errors, 0 skips $ ```
1 parent 2b8b45a commit a6e0b0a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ gem "bootsnap", ">= 1.4.4", require: false
7575
gem "webrick", require: false
7676
gem "jbuilder", require: false
7777
gem "web-console", require: false
78+
gem "readline-ext", require: false
7879

7980
# Action Pack and railties
8081
rack_version = ENV.fetch("RACK", "~> 2.0") # Change to ~> 3 after #46594 is merged.

Gemfile.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ GEM
398398
rbtree (0.4.6)
399399
rdoc (6.5.0)
400400
psych (>= 4.0.0)
401+
readline-ext (0.1.5)
401402
redcarpet (3.2.3)
402403
redis (5.0.5)
403404
redis-client (>= 0.9.0)
@@ -607,6 +608,7 @@ DEPENDENCIES
607608
rails!
608609
rake (>= 13)
609610
rdoc (~> 6.5)
611+
readline-ext
610612
redcarpet (~> 3.2.3)
611613
redis (>= 4.0.1)
612614
redis-namespace

0 commit comments

Comments
 (0)