Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thruster not working in new projects due to "irb" gem #16

Closed
brenogazzola opened this issue Apr 11, 2024 · 0 comments · Fixed by #18
Closed

Thruster not working in new projects due to "irb" gem #16

brenogazzola opened this issue Apr 11, 2024 · 0 comments · Fixed by #18

Comments

@brenogazzola
Copy link

Steps to reproduce

Open a terminal, type these commands:

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

System configuration

Rails version: Rails 7.1.3.2
Ruby version: ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-darwin23]

@brenogazzola brenogazzola changed the title Thruster not working in new projects Thruster not working in new projects due to "irb" gem Apr 11, 2024
3v0k4 added a commit to 3v0k4/thruster that referenced this issue Apr 15, 2024
3v0k4 added a commit to 3v0k4/thruster that referenced this issue Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant