ruby - rvm system install, bins not properly symlinked -


i'm on ubuntu 12.04 , installed rvm system wide with:
$ \curl -l https://get.rvm.io | sudo bash -s stable

so far i've performed single user installs , honest i'm quite confused results of system wide install.
did put rvm bin directory in path, symlinked binaries names can't directly used.
mean should symlink them 1 one?
did go wrong?
defalt behaviour?

appusr@server-name:/usr/local/rvm/bin$ ll total 60 drwxrwsr-x  2 root     rvm   4096 apr  5 13:11 ./ drwxrwsr-x 23 root     rvm   4096 apr  5 13:04 ../ -rwxrwxr-x  1 root     rvm    578 apr  5 13:04 bundle* lrwxrwxrwx  1 appusr   rvm     41 apr  5 13:11 erb-ruby-2.0.0-p0 -> /usr/local/rvm/wrappers/ruby-2.0.0-p0/erb* lrwxrwxrwx  1 appusr   rvm     48 apr  5 13:11 erb-ruby-2.0.0-p0@global -> /usr/local/rvm/wrappers/ruby-2.0.0-p0@global/erb* lrwxrwxrwx  1 appusr   rvm     41 apr  5 13:11 gem-ruby-2.0.0-p0 -> /usr/local/rvm/wrappers/ruby-2.0.0-p0/gem* lrwxrwxrwx  1 appusr   rvm     48 apr  5 13:11 gem-ruby-2.0.0-p0@global -> /usr/local/rvm/wrappers/ruby-2.0.0-p0@global/gem* lrwxrwxrwx  1 appusr   rvm     41 apr  5 13:11 irb-ruby-2.0.0-p0 -> /usr/local/rvm/wrappers/ruby-2.0.0-p0/irb* lrwxrwxrwx  1 appusr   rvm     48 apr  5 13:11 irb-ruby-2.0.0-p0@global -> /usr/local/rvm/wrappers/ruby-2.0.0-p0@global/irb* -rwxrwxr-x  1 root     rvm    556 apr  5 13:04 rake* lrwxrwxrwx  1 appusr   rvm     42 apr  5 13:11 rake-ruby-2.0.0-p0 -> /usr/local/rvm/wrappers/ruby-2.0.0-p0/rake* lrwxrwxrwx  1 appusr   rvm     49 apr  5 13:11 rake-ruby-2.0.0-p0@global -> /usr/local/rvm/wrappers/ruby-2.0.0-p0@global/rake* lrwxrwxrwx  1 appusr   rvm     42 apr  5 13:11 rdoc-ruby-2.0.0-p0 -> /usr/local/rvm/wrappers/ruby-2.0.0-p0/rdoc* lrwxrwxrwx  1 appusr   rvm     49 apr  5 13:11 rdoc-ruby-2.0.0-p0@global -> /usr/local/rvm/wrappers/ruby-2.0.0-p0@global/rdoc* lrwxrwxrwx  1 appusr   rvm     40 apr  5 13:11 ri-ruby-2.0.0-p0 -> /usr/local/rvm/wrappers/ruby-2.0.0-p0/ri* lrwxrwxrwx  1 appusr   rvm     47 apr  5 13:11 ri-ruby-2.0.0-p0@global -> /usr/local/rvm/wrappers/ruby-2.0.0-p0@global/ri* lrwxrwxrwx  1 appusr   rvm     42 apr  5 13:11 ruby-2.0.0-p0 -> /usr/local/rvm/wrappers/ruby-2.0.0-p0/ruby* lrwxrwxrwx  1 appusr   rvm     49 apr  5 13:11 ruby-2.0.0-p0@global -> /usr/local/rvm/wrappers/ruby-2.0.0-p0@global/ruby* -rwxrwxr-x  1 root     rvm   1307 apr  5 13:04 rvm* -rwxrwxr-x  1 root     rvm   1512 apr  5 13:04 rvm-auto-ruby* -rwxrwxr-x  1 root     rvm   1803 apr  5 13:04 rvm-exec* -rwxrwxr-x  1 root     rvm  13130 apr  5 13:04 rvm-installer* -rwxrwxr-x  1 root     rvm   3850 apr  5 13:04 rvm-prompt* -rwxrwxr-x  1 root     rvm   2263 apr  5 13:04 rvm-shell* -rwxrwxr-x  1 root     rvm    648 apr  5 13:04 rvm-smile* -rwxrwxr-x  1 root     rvm   2229 apr  5 13:04 rvmsudo* lrwxrwxrwx  1 appusr   rvm     44 apr  5 13:11 testrb-ruby-2.0.0-p0 -> /usr/local/rvm/wrappers/ruby-2.0.0-p0/testrb* lrwxrwxrwx  1 appusr   rvm     51 apr  5 13:11 testrb-ruby-2.0.0-p0@global -> /usr/local/rvm/wrappers/ruby-2.0.0-p0@global/testrb* appusr@server-name:/usr/local/rvm/bin$  appusr@server-name:/usr/local/rvm/bin$  appusr@server-name:/usr/local/rvm/bin$  appusr@server-name:/usr/local/rvm/bin$ ruby appusr@server-name:/usr/local/rvm/bin$ irb appusr@server-name:/usr/local/rvm/bin$ gem appusr@server-name:/usr/local/rvm/bin$ /usr/bin/env ruby -v /usr/bin/env: ruby: no such file or directory appusr@server-name:/usr/local/rvm/bin$ ruby -v program 'ruby' can found in following packages:  * ruby1.8  * ruby1.9.1 ask administrator install 1 of them appusr@server-name:/usr/local/rvm/bin$ 

you should check /usr/local/rvm/wrappers /usr/local/rvm/wrappers/default binaries can used path no other settings in environment.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -