ruby - How do I set the language mode for Rubinius? -


i'm trying set language mode in rubinius, , doesn't seem work. tried using switch suggested rubinius team in april 2012 in https://stackoverflow.com/a/10165964/38765

$ ruby --version rubinius 2.0.0.n203 (1.9.3 4d75a146 2013-07-22 ji) [x86_64-apple-darwin11.4.2] $ ruby -x18 irb(main):001:0> ruby_version => "1.9.3" irb(main):002:0> exit $ ruby -x20 irb(main):001:0> ruby_version => "1.9.3" 

is possible set language mode more rubinius?

you have enable language modes when compiling rubinius. docs:

for example, enable both 1.9 , 2.0 modes, 1.9 default, use follwing configure options:

./configure --enable-version=1.9,2.0 --default-version=1.9 

Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -