I want o install ruby 2.0 and I have followed many tutorials, but none of them works, and the defaul repo apt-get install ruby
brings me the 1.8 version (and due is debian has restrictions to update it if is not through the repo) any way to do it?
Ive tried this way
cd /usr/src
wget ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p0.tar.gz
tar xjf ruby.xxx.tar.bz2
cd rubyxxx
./configure --enable-shared
make
make install
and just that, I get error on the next steps, when I make a ruby -version I get this
-bash: /usr/bin/ruby: No such file or directory
the end of the tuto install
cd ext/openssl/
ruby extconf.rb
make install
cd ../readline/
ruby extconf.rb
make install
gem update --system
any idea how to do this in debian 6? thanks