rails new thruster-demo
cd thruster-demo
gem install thruster
thrust rails s
Expected behavior
Thruster and puma are initialized correctly
Actual behavior
Puma crashes with this error:
.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/reline-0.5.1/lib/reline/ansi.rb:246:in `winsize': Operation not supported by device - <STDIN> (Errno::ENODEV)
Cause
The problem is caused by the irb gem, which is a dependency of the debug gem, which in turn is part of the default Gemfile for new applications. Commenting out this gem lets thruster and puma to initialize correctly
Steps to reproduce
Open a terminal, type these commands:
Expected behavior
Thruster and puma are initialized correctly
Actual behavior
Puma crashes with this error:
Cause
The problem is caused by the
irb
gem, which is a dependency of thedebug
gem, which in turn is part of the default Gemfile for new applications. Commenting out this gem lets thruster and puma to initialize correctlySystem configuration
Rails version: Rails 7.1.3.2 Ruby version: ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-darwin23]