senny / rvm.el

use rvm to manage ruby versions within emacs
214 stars 42 forks source link

After `rvm-activate-corresponding-ruby` all shell commands stop working #29

Open simao opened 11 years ago

simao commented 11 years ago

Hello,

I am running rvm-activate-corresponding-ruby in a directory with the following .rvmrc:

rvm use --create ruby-1.9.3-p327@sp_offerwal

The correct ruby and gemset are correctly activated, but then all external comands stop working. Emacs can no longer find ack, git, etc tec.

For example:

ack --nocolor --nogroup --column --smart-case --env -- lol
zsh:1: command not found: ack

Activating the default ruby and gemset works fine.

How can I find out what is wrong?

simao commented 11 years ago

Looks like the problem might be with the value of PATH, before running rvm-activate-corresponding-ruby:

":/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/texbin:/usr/X11/bin/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"

But after running that command:

"/home/simao/.rvm/gems/ruby-1.9.3-p327@sp_offerwal/bin:/home/simao/.rvm/gems/ruby-1.9.3-p327@global/bin:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/u/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/r/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/o/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/c/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/a/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/o/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/p/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/t/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/o/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/c/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/a/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/o/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/p/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/t/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/o/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/c/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/a/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/u/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/r/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/u/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/r/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/u/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/r/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/t/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/e/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/x/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/u/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/r/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/X/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/1/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/1/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/u/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/r/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/g/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/h/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/t/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/d/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/m/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/g/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/h/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/t/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/d/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/m/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/u/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/r/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/o/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/c/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/a/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/u/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/r/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/o/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/c/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/a/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/u/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/r/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/u/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/r/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/u/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/r/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/g/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/a/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/m/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/e/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/u/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/r/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/o/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/c/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/a/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/g/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/a/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/m/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/e/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s" 
senny commented 11 years ago

you are right. The modified path looks completely broken!

senny commented 11 years ago

here are some steps to assist in the debugging process:

  1. quit emacs, start it again and call rvm-activate-corresponding-ruby only exactly once and post the resulting PATH
  2. what is the content of the variable exec-path?
  3. what is the output from $ rvm info ruby-1.9.3-p327
  4. what is the output of `(rvm/info "ruby-1.9.3-p327")
  5. does the PATH also look that bad when you use rvm-use directly?

thanks in advance for reporting back.

simao commented 11 years ago
  1. This is the value of PATH after rvm-activate-corresponding-ruby:
"/home/simao/.rvm/gems/ruby-1.9.3-p327@sp_offerwal/bin:/home/simao/.rvm/gems/ruby-1.9.3-p327@global/bin:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/u/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/r/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/o/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/c/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/a/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/o/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/p/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/t/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/o/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/c/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/a/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/o/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/p/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/t/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/o/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/c/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/a/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/u/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/r/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/u/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/r/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/u/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/r/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/t/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/e/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/x/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/u/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/r/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/X/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/1/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/1/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/u/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/r/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/g/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/h/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/t/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/d/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/m/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/g/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/h/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/t/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/d/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/m/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/u/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/r/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/o/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/c/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/a/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/u/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/r/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/o/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/c/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/a/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/u/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/r/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/u/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/r/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/b/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/i/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/n/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/u/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/r/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/g/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/a/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/m/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/e/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/u/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/r/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/o/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/c/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/a/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/l/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin///home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/g/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/a/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/m/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/e/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/s"
  1. Exec-path:
("/home/simao/.rvm/gems/ruby-1.9.3-p327@global/bin" "/home/simao/.rvm/gems/ruby-1.9.3-p327@sp_offerwal/bin" "/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/" "/usr/local/bin" "/usr/lib/lightdm/lightdm" "/usr/local/sbin" "/usr/local/bin" "/usr/sbin" "/usr/bin" "/sbin" "/bin" "/usr/games" "/usr/local/games" "/usr/local/libexec/emacs/24.2/x86_64-unknown-linux-gnu")
ruby-1.9.3-p327:

  system:
    uname:       "Linux asterix 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux"
    system:      "ubuntu/12.10/x86_64"
    bash:        "/bin/bash => GNU bash, version 4.2.37(1)-release (x86_64-pc-linux-gnu)"
    zsh:         "/usr/bin/zsh => zsh 5.0.0 (x86_64-unknown-linux-gnu)"

  rvm:
    version:      "rvm 1.18.6 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
    updated:      "2 hours 21 minutes 39 seconds ago"

  ruby:
    interpreter:  "ruby"
    version:      "1.9.3p327"
    date:         "2012-11-10"
    platform:     "x86_64-linux"
    patchlevel:   "2012-11-10 revision 37606"
    full_version: "ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux]"

  homes:
    gem:          "/home/simao/.rvm/gems/ruby-1.9.3-p327"
    ruby:         "/home/simao/.rvm/rubies/ruby-1.9.3-p327"

  binaries:
    ruby:         "/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/ruby"
    irb:          "/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/irb"
    gem:          "/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin/gem"
    rake:         "/home/simao/.rvm/gems/ruby-1.9.3-p327/bin/rake"

  environment:
    PATH:         "/home/simao/.rvm/gems/ruby-1.9.3-p327/bin:/home/simao/.rvm/gems/ruby-1.9.3-p327@global/bin:/home/simao/.rvm/rubies/ruby-1.9.3-p327/bin:/home/simao/.rvm/bin:/usr/local/mysql/bin:/opt/local/bin:/usr/local/bin:/usr/local/sbin:/usr/local/share/python:/Applications/android-sdk/tools:/Applications/android-sdk/platform-tools:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/home/simao/bin"
    GEM_HOME:     "/home/simao/.rvm/gems/ruby-1.9.3-p327"
    GEM_PATH:     "/home/simao/.rvm/gems/ruby-1.9.3-p327:/home/simao/.rvm/gems/ruby-1.9.3-p327@global"
    MY_RUBY_HOME: "/home/simao/.rvm/rubies/ruby-1.9.3-p327"
    IRBRC:        "/home/simao/.rvm/rubies/ruby-1.9.3-p327/.irbrc"
    RUBYOPT:      ""
    gemset:       ""

4. (rvm/info "ruby-1.9.3-p327") nil

  1. yes if I use rvm-use I get the same result.

Thanks for looking into this.

senny commented 11 years ago

(rvm/info "ruby-1.9.3-p327") should definitly not be nil. When I execute rvm/info I get:

(("IRBRC" . "/home/vagrant/.rvm/rubies/ruby-1.9.3-p392/.irbrc") ("MY_RUBY_HOME" . "/home/vagrant/.rvm/rubies/ruby-1.9.3-p392") ("GEM_PATH" . "/home/vagrant/.rvm/gems/ruby-1.9.3-p392:/home/vagrant/.rvm/ge\
ms/ruby-1.9.3-p392@global") ("GEM_HOME" . "/home/vagrant/.rvm/gems/ruby-1.9.3-p392") ("PATH" . "/home/vagrant/.rvm/gems/ruby-1.9.3-p392/bin:/home/vagrant/.rvm/gems/ruby-1.9.3-p392@global/bin:/home/vagran\
t/.rvm/rubies/ruby-1.9.3-p392/bin:/home/vagrant/.rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/vagrant_ruby/bin") ("rake" . "/home/vagrant/.rvm/gems/ruby-1.9.3-p392\
@global/bin/rake") ("gem" . "/home/vagrant/.rvm/rubies/ruby-1.9.3-p392/bin/gem") ("irb" . "/home/vagrant/.rvm/rubies/ruby-1.9.3-p392/bin/irb") ("ruby" . "/home/vagrant/.rvm/rubies/ruby-1.9.3-p392/bin/rub\
y") ("ruby" . "/home/vagrant/.rvm/rubies/ruby-1.9.3-p392") ("gem" . "/home/vagrant/.rvm/gems/ruby-1.9.3-p392") ("full_version" . "ruby 1.9.3p392 (2013-02-22 revision 39386) [i686-linux]") ...)
senny commented 11 years ago

what version of rvm.el are you using?

victorfonsec4 commented 8 years ago

I'm having the same issue, I'm using the spacemacs ruby layer which includes rvm.el