Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!uucp.gnuu.de!xts.gnuu.de!.POSTED!not-for-mail From: Simon Krahnke Newsgroups: comp.lang.ruby Subject: Re: strange behavior on windows: ruby.exe: illegal switch in RUBYOPT: -V (RuntimeError) Date: Fri, 09 Aug 2013 01:42:08 +0200 Organization: there's no z in organisation Lines: 23 Message-ID: <8738qjagxb.fsf@xts.gnuu.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: xts.gnuu.de 1376005328 10989 172.19.115.2 (8 Aug 2013 23:42:08 GMT) X-Complaints-To: usenet@nowhere.invalid User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:kBbE5zNZer7e8NojssQCKnDzbiY= Xref: csiph.com comp.lang.ruby:6864 * Alon Nisser (2013-07-27) schrieb: >I'm using ruby on windows (installed from ruby installer). most of the time ruby based apps such as vagrant, rspec, puppet etc work fine > >but once in a while they all start to crash with this error: > > ruby.exe: illegal switch in RUBYOPT: -V (RuntimeError) > >when I start a new command console - everything there works fine (for a while). this is getting really annoying. and I can't get answers on google (all of my search results show -F and not -V like this error > >this is the ruby version: > > ruby 1.8.7 (2013-06-27 patchlevel 374) [i386-mingw32] > >installed in : > >C:\Ruby187> > >win version: win 7 enterprise sp1 64 bit You should look into the environment variable "RUBYOPT". mfg, simon .... l