N5ken's technical blog

Just another WordPress.com site

Installing REE by RVM in Ubuntu

Installing the REE by RVM in Ubuntu may have the following error, this because you missed some dependencies:

root@ubuntu:~# rvm install ree
Installing Ruby Enterprise Edition from source to: /usr/local/rvm/rubies/ree-1.8.7-2011.03
ree-1.8.7-2011.03 - #fetching (ruby-enterprise-1.8.7-2011.03)
curl: /usr/local/staf/lib/libcrypto.so.0.9.8: no version information available (required by /usr/lib/libcurl.so.4)
curl: /usr/local/staf/lib/libssl.so.0.9.8: no version information available (required by /usr/lib/libcurl.so.4)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 7713k  100 7713k    0     0  57223      0  0:02:18  0:02:18 --:--:-- 50726
ree-1.8.7-2011.03 - #extracting ruby-enterprise-1.8.7-2011.03 to /usr/local/rvm/src/ree-1.8.7-2011.03
ree-1.8.7-2011.03 - #installing 
ERROR: Error running './installer -a /usr/local/rvm/rubies/ree-1.8.7-2011.03  --dont-install-useful-gems ', please read /usr/local/rvm/log/ree-1.8.7-2011.03/install.log
ERROR: There has been an error while trying to run the ree installer. Halting the installation.

So, now you just need:

sudo apt-get install build-essential zlib1g-dev libssl-dev libreadline6-dev
Advertisements

One response to “Installing REE by RVM in Ubuntu

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

%d bloggers like this: