how to install ruby 2.0 in debian 6? -
i want o install ruby 2.0 , have followed many tutorials, none of them works, , defaul repo apt-get install ruby
brings me 1.8 version (and due debian has restrictions update if not through repo) way it?
ive tried 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 that, error on next steps, when make ruby -version this
-bash: /usr/bin/ruby: no such file or directory
the end of tuto install
cd ext/openssl/ ruby extconf.rb make install cd ../readline/ ruby extconf.rb make install gem update --system
any idea how in debian 6? thanks
if it's server, may want take @ rvm (https://rvm.io/). make install simple :
curl -l https://get.rvm.io | bash -s stable --rails --autolibs=enabled
Comments
Post a Comment