Oh my god. This problem was so annoying and huge it caused my project to
stop.
Anyway I worked my way out of this. The reason was kind of stupid -__-
I had a ruby.rb file on desktop so whenever I ran “ruby” on cmd or “ruby
example.rb” while on desktop I’d get a number on the shell as it’s
response instead of sleeping or executing the script. Deleted the
ruby.rb from desktop and the problem is gone.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.