Closed dekkzz76 closed 3 years ago
Do you have any more details? It seems to be working fine here using ruby 2.7.1p83
and irb 1.3.0
.
Any chance you could try those versions?
Hmm, it looks like it might not be caused by any particular version of Ruby or irb: https://emacs.stackexchange.com/questions/3447/cannot-set-terminal-process-group-error-when-running-bash-script
Can you evaluate (shell-command-to-string "irb -v")
? What does it return?
"bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell irb 1.2.1 (2019-12-24) "
could it be bash issue/?
Looks like it was bash related. removing (setq shell-command-switch "-ic") from .emacs allows the the REPL to work now.
Irb version unknown: bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell irb 1.2.1 (2019-12-24)
Ruby 2.7.0 installed via rvm on Ubuntu 20.10 throws following error, same for ruby 3.0.0.
Suspect bash wants interactive mode but not sure.