I tried to reinstall Ruby with GEM_PATH set but no success in my issue. 
You can see, what I have done there: https://gist.github.com/1716076
I have C file:
https://gist.github.com/1716076#file_embedded.c
From this file is called Ruby source:
https://gist.github.com/1716076#file_embedded.rb
Output of this call is:
https://gist.github.com/1716076#file_output
And this is the way how I use rvm and how it is set:
https://gist.github.com/1716076#file_ruby_rvm_install

-- 
Posted via http://www.ruby-forum.com/.