installation - Ruby command not working after installing Ruby 2.0 through RVM on Linux mint 17.2 -


i tried install ruby 2.0 through rvm. seems installed ruby without problem. however, when type ruby -v nothing comes out. think command ruby not yet set up.

i want know how use "ruby -v".

<blink> kyu@kyu-latitude-d430 ~ $ rvm install ruby 2.0.0                                                    searching binary rubies, might take time. no binary rubies available for: mint/17.2/x86_64/ruby-2.0.0-p643. continuing compilation. please read 'rvm mount' more information on binary rubies. checking requirements mint. installing requirements mint. updating system............ installing required packages: g++, libreadline6-dev, zlib1g-dev, libssl-dev, libyaml-dev, libsqlite3-dev, sqlite3, autoconf, libgdbm-dev, libncurses5-dev, automake, libtool, libffi-dev.............. requirements installation successful. installing ruby source to: /home/kyu/.rvm/rubies/ruby-2.0.0-p643, may take while depending on cpu(s)... ruby-2.0.0-p643 - #downloading ruby-2.0.0-p643, may take while depending on connection...   % total    % received % xferd  average speed   time    time     time  current                                  dload  upload   total   spent    left  speed 100 10.2m  100 10.2m    0     0  1139k      0  0:00:09  0:00:09 --:--:-- 1473k ruby-2.0.0-p643 - #extracting ruby-2.0.0-p643 /home/kyu/.rvm/src/ruby-2.0.0-p643.... ruby-2.0.0-p643 - #configuring.................................................. ruby-2.0.0-p643 - #post-configuration.. ruby-2.0.0-p643 - #compiling................................................................................ ruby-2.0.0-p643 - #installing.............................. ruby-2.0.0-p643 - #making binaries executable.. ruby-2.0.0-p643 - #downloading rubygems-2.4.8   % total    % received % xferd  average speed   time    time     time  current                                  dload  upload   total   spent    left  speed 100  437k  100  437k    0     0   225k      0  0:00:01  0:00:01 --:--:--  225k no checksum downloaded archive, recording checksum in user configuration. ruby-2.0.0-p643 - #extracting rubygems-2.4.8.... ruby-2.0.0-p643 - #removing old rubygems......... ruby-2.0.0-p643 - #installing rubygems-2.4.8...................... ruby-2.0.0-p643 - #gemset created /home/kyu/.rvm/gems/ruby-2.0.0-p643@global ruby-2.0.0-p643 - #importing gemset /home/kyu/.rvm/gemsets/global.gems............................................... ruby-2.0.0-p643 - #generating global wrappers........ ruby-2.0.0-p643 - #gemset created /home/kyu/.rvm/gems/ruby-2.0.0-p643 ruby-2.0.0-p643 - #importing gemsetfile /home/kyu/.rvm/gemsets/default.gems evaluated empty gem list ruby-2.0.0-p643 - #generating default wrappers........ ruby-2.0.0-p643 - #adjusting #shebangs (gem irb erb ri rdoc testrb rake). install of ruby-2.0.0-p643 - #complete  ruby built without documentation, build run: rvm docs generate-ri kyu@kyu-latitude-d430 ~ $ ruby -v bash: /usr/bin/ruby: no such file or directory <code> <blink> 

you should have

[[ -s "$home/.rvm/scripts/rvm" ]] && source "$home/.rvm/scripts/rvm" # load rvm shell session *as function* 

in .profile file.

if it's there, may not have started new login shell since added, source manually.

then should see ruby related paths when you

echo $path 

Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -