[RVM,Ubuntu]ruby installed from rvm doesn't work

I’ve installed ruby1.9.2 from rvm
but ruby doesn’t work on my ubuntu

there is a picture showing my situation.
plase give me a help

http://postfiles4.naver.net/20110114_51/sukury47_1294944222409RbBlv_JPEG/rvm_break.JPG?type=w3

sukury47 wrote in post #974699:

I’ve installed ruby1.9.2 from rvm
but ruby doesn’t work on my ubuntu

there is a picture showing my situation.
plase give me a help

http://postfiles4.naver.net/20110114_51/sukury47_1294944222409RbBlv_JPEG/rvm_break.JPG?type=w3

The link doesn’t work. Please post what you tried and what errors
you’re getting.

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

I don’t have permission to see your problem, but i run Ubuntu 10.10
and i had problems to.

I followed that and it work #1

Hope it help

Yes, it’s impossible to see the picture. Please use Github’s Gist
function to share code or error messagges.

I’m almost sure here you will find your answer

or also other’s replies are useful.
Good luck,
gezope

On Jan 13, 6:46pm, sukury47 [email protected] wrote:

I’ve installed ruby1.9.2 from rvm
but ruby doesn’t work on my ubuntu

there is a picture showing my situation.
plase give me a help

http://postfiles4.naver.net/20110114_51/sukury47_1294944222409RbBlv_J

Have you installed 1.8.7 first? I am sure I saw something in the docs
that details that you need 1.8.7 installed first before attempting to
use 1.9.*.

After I installed 1.8.7 into RVM on Ubuntu 10.04, 1.9.2 installed OK
and runs fine. That was all I had to do.

Best

Paul

paul h wrote in post #974939:

On Jan 13, 6:46pm, sukury47 [email protected] wrote:

I’ve installed ruby1.9.2 from rvm
but ruby doesn’t work on my ubuntu

there is a picture showing my situation.
plase give me a help

http://postfiles4.naver.net/20110114_51/sukury47_1294944222409RbBlv_J

Have you installed 1.8.7 first? I am sure I saw something in the docs
that details that you need 1.8.7 installed first before attempting to
use 1.9.*.

I very much doubt this. Your source?

After I installed 1.8.7 into RVM on Ubuntu 10.04, 1.9.2 installed OK
and runs fine. That was all I had to do.

Best

Paul

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

Sent from my iPhone

This might be of help too:
http://www.warden.pl/2011/01/03/quickies-installing-global-rvm-passenger-3-ree-rails3-in-a-debian/

On 14 January 2011 14:03, paul h [email protected] wrote:

Have you installed 1.8.7 first? I am sure I saw something in the docs
that details that you need 1.8.7 installed first before attempting to
use 1.9.*.

After I installed 1.8.7 into RVM on Ubuntu 10.04, 1.9.2 installed OK
and runs fine. That was all I had to do.

Are you sure you are not thinking of the fact that you need a ruby
installed before you can install rvm?

Colin

I’m using CentOS 5.5 and typing

rvm notes

it gave specific instruction to install mri 1.8.7 before 1.9.2. i.e.

rvm install 1.8.7
rvm use 1.8.7
rvm install 1.9.2

This worked for me.

here’s a copy/paste from my rvm notes:

====

Notes for Linux ( CentOS release 5.5 (Final) )

NOTE: ‘ruby’ represents Matz’s Ruby Interpreter (MRI) (1.8.X, 1.9.X)
This is the original / standard Ruby Language Interpreter
‘ree’ represents Ruby Enterprise Edition
‘rbx’ represents Rubinius

bash >= 3.2 is required
curl is required
git is required (>= 1.7 recommended)
patch is required (for ree and some ruby-head’s).

If you wish to install rbx and/or Ruby 1.9 head (MRI) (eg. 1.9.2-head),
then you must install and use rvm 1.8.7 first.

If you wish to have the ‘pretty colors’ again,
set ‘export rvm_pretty_print_flag=1’ in ~/.rvmrc.

dependencies:

For RVM

rvm: yum install -y bash curl git

For Ruby (MRI & Ree) you should install the following OS

dependencies:
ruby: yum install -y gcc-c++ patch readline readline-devel zlib
zlib-devel libyaml-devel libffi-devel openssl-devel ;
yum install -y iconv-devel # NOTE: For centos 5.4 final
iconv-devel might not be available :frowning:

For JRuby (if you wish to use it) you will need:

jruby: yum install -y java

On Jan 14, 4:35pm, Marnen Laibow-Koser [email protected] wrote:

Have you installed 1.8.7 first? I am sure I saw something in the docs
that details that you need 1.8.7 installed first before attempting to
use 1.9.*.

I very much doubt this. Your source?

rvm notes

as per Sean T.'s post.

I knew I had seen the instruction somewhere, just couldn’t place where
I’d seen it.