Ruby installation error

Hi,

I am relatively new to Ruby and I have installation issues. I had been
trying to install Ruby 1.9.2 from this link.

http://toranbillups.com/blog/archive/2010/09/01/How-to-install-Rails-3.0-and-Ruby-1.9.2-on-Ubuntu

Problem occured when I tried to install ‘rvm install ruby-1.9.2’
All I get is an error saying

error: Error running 'make ', please check
/home/coder/.rvm/log/ruby-1.9.2-p0/make*.log

error: There has been an error while running make. Aborting the
installation.
coder@Qalqi:~$ su rvm install ruby-1.9.2

I attached with this message, make.log and make.error.log files
Please help me.

Thanks,
Kamal

On Fri, Jan 13, 2012 at 7:24 PM, Kamal R. [email protected]
wrote:

error: Error running 'make ', please check
/home/coder/.rvm/log/ruby-1.9.2-p0/make*.log

error: There has been an error while running make. Aborting the
installation.
coder@Qalqi:~$ su rvm install ruby-1.9.2

I attached with this message, make.log and make.error.log files
Please help me.

Did you check the result of

$ rvm requirements

and do “exactly” what is proposed there ?

The tutorial you refer to says to install rails --version 3.0 .
gem install rails --version 3.0.0

That is already quite passé.

Just do gem install rails there and let the system choose.

Also where you see ruby 1.9.2 , just make ruby 1.9.3
from that …

FWIW, I wrote down my installation on Ubuntu recently, might help ?

http://rails.vandenabeele.com/blog/2011/11/26/installing-ruby-and-rails-with-rvm-on-ubuntu-11-dot-10/

And there is the rvmsh project that I have tested a few times recently
on
Ubuntu.

https://github.com/dunsmoreb/rvmsh

HTH,

Peter

Did you check the result of

$ rvm requirements

and do “exactly” what is proposed there ?

I get this error for that command.What to do?

fail: Unrecognized command line argument: ‘requirements’ ( see: ‘rvm
usage’ )

The tutorial you refer to says to install rails --version 3.0 .
gem install rails --version 3.0.0

That is already quite passé.

I am yet a beginner and was learning from a tutorial where the code was
written in rails 3.0.0 so, instead of having compatibility issues and
avoid confusion at beginner level, I did so.
This is the tutorial I was referring to.

Just do gem install rails there and let the system choose.

Also where you see ruby 1.9.2 , just make ruby 1.9.3
from that …

FWIW, I wrote down my installation on Ubuntu recently, might help ?

http://rails.vandenabeele.com/blog/2011/11/26/installing-ruby-and-rails-with-rvm-on-ubuntu-11-dot-10/

I will try this now.

Thanks
Kamal