Can’t install Ruby Enterprise Edition with RVM on OSX Lion
I was able to duplicate your error, just now. This solved it for me: $ rvm remove ree $ export CC=/usr/bin/gcc-4.2 $ rvm install –force ree
I was able to duplicate your error, just now. This solved it for me: $ rvm remove ree $ export CC=/usr/bin/gcc-4.2 $ rvm install –force ree
Use this global constant: RUBY_VERSION Other relevant global constants include: RUBY_PATCHLEVEL RUBY_PLATFORM RUBY_RELEASE_DATE Usage example via irb session: irb(main):001:0> RUBY_VERSION => “1.8.7”