/bin/sh: ./miniruby: No such file or directory errror

Hi, I am installing ruby 1.8.6 on feodra linux. I have download the ruby-1.8.7.tar file. But whenever I am doing "make" it is giving an error "make[1]: *** [ossl_ssl.o] Error 1 make[1]: Leaving directory `/home/rails_setup/ruby-1.8.7-p72/ext/openssl' make: *** [all] Error 1 " And when I am doing "make install" I am getting error "/bin/sh: ./miniruby: No such file or directory"

Can anyone please help me out to solve this?

Thanks, Tushar