nameerror - Why can I not determine my ruby installation's version? -


when run ruby -version get:

ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin11.0] -e:1: undefined local variable or method `rsion' main:object (nameerror) 

what wrong?

use either ruby -v or ruby --version. it's parsing -version rsion.

either of these 2 work. count number of dashes:

ruby -v ruby --version 

when provide single dash "version", ruby sees this:

ruby -v -e rsion 

Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -