Ruby: irb doesn't work on Windows

前端 未结 3 1338
轻奢々
轻奢々 2021-01-15 03:30

I\'ve installed Ruby 1.93 in my windows 7 PC using Ruby 1.9.3-p194 one click installer. I can use ruby command to interpret files, but when I type irb

3条回答
  •  青春惊慌失措
    2021-01-15 04:00

    I got the solution from Pete's comment. I have Cygwin installed in my computer which was causing the problem (Not sure why). I have just typed this in the command line: set HOME= and irb started working!

    You can also see this link.

提交回复
热议问题