B
Bhupendra Mishra
Hi There,
I have installed ruby 1.9.2p136 (2010-12-25 revision 30365)
[i686-linux].
and created symlink as "ln -s /ruby 1.9.2p136/ruby /usr/bin/local/ruby.
Running command ruby -v returns correct version specification of ruby as
" ruby 1.9.2p136 (2010-12-25 revision 30365) [i686-linux]". But when i
am trying to run any ruby file it is returning error as follows
$ ruby -ropenssl -rzlib -rreadline -e "puts :Hello"
<internal:lib/rubygems/custom_require>:29:in `require': no such file to
load -- rubygems (LoadError)
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:gem_prelude>:167:in `load_full_rubygems_library'
from <internal:gem_prelude>:217:in `try_activate'
from <internal:lib/rubygems/custom_require>:32:in `rescue in require'
from <internal:lib/rubygems/custom_require>:29:in `require'
I have installed ruby 1.9.2p136 (2010-12-25 revision 30365)
[i686-linux].
and created symlink as "ln -s /ruby 1.9.2p136/ruby /usr/bin/local/ruby.
Running command ruby -v returns correct version specification of ruby as
" ruby 1.9.2p136 (2010-12-25 revision 30365) [i686-linux]". But when i
am trying to run any ruby file it is returning error as follows
$ ruby -ropenssl -rzlib -rreadline -e "puts :Hello"
<internal:lib/rubygems/custom_require>:29:in `require': no such file to
load -- rubygems (LoadError)
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:gem_prelude>:167:in `load_full_rubygems_library'
from <internal:gem_prelude>:217:in `try_activate'
from <internal:lib/rubygems/custom_require>:32:in `rescue in require'
from <internal:lib/rubygems/custom_require>:29:in `require'