0

I am reading a book about ruby, it learn me that I write my program in SciTE and then use F5 in keyboard to run my program. Now , today I write this very very simple program :

a = gets.chomp!

when I write this code in Interactive Ruby enviroment , this code runs as I want but when I write this code in SciTE and use F5 after some seconds a black window opens and I can't write anything and I can't use "gets" instruction in my program. please help me. thanks

amir amir
  • 3,375
  • 7
  • 26
  • 29

1 Answers1

0

it seems like your subsystem was set to something other than console.

Try adding this line to SciTEGlobal.properties:
command.go.subsystem.$(file.patterns.rb)=console

Also, to stop the process from running, press CTRL+Break

Matiaan
  • 154
  • 1
  • 8