I am getting an error when trying to run Ruby on my Mac. I installed it using RVM. But when I type it in, it gets stuck on the command prompt, like its waiting. The same happens with the default. I have no idea why this is happening. Running 10.7.3. Any ideas?
Share
It is waiting, and it’s waiting for input. The
rubycommand takes in input till it receives theEOFcharacter, and then executes it. Typically you pass it a file to run or pipe tostdin.Perhaps you’re trying to run interactive Ruby (IRb)? In which case you should run
irb.