Emmanu
Emmanu

Reputation: 53

ruby 1.8.7 RUBYOPT (RuntimeError)

Just installed ruby 1.8.7 in my win10 pc 64bit. When I open the cmd with ruby appear this error:

ruby 1.8.7 (2013-06-27 patchlevel 374) [i386-mingw32]
ruby.exe: illegal switch in RUBYOPT: -E (RuntimeError)

Installed in C:\Ruby187

How can I solve it? I need this version of ruby to install Fedena.

Thank you!

Upvotes: 0

Views: 228

Answers (1)

pjs
pjs

Reputation: 19855

My ancient manuals indicate that -E wasn't added until Ruby 1.9, hence the error message. Source: page 38 of "The Ruby Programming Language (Covers Ruby 1.8 and 1.9)" (2008) by Flanagan & Matsumoto.

Upvotes: 3

Related Questions