Installing rvm on Ubuntu 10.04

When I was trying to install rvm on our ubuntu server I got the error.

configure: error: C compiler cannot create executables

Luckily after 30min of searching I found

http://www.go2linux.org/configure-error-gcc-g%20%20-needed

By doing “apt-get install build-essential” every thing worked perfectly