Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I've had the same problem, and although I didn't really fully understood why it was happening, attacking the main symptom solved it for me.</p> <p>It seems that you have already another version of ruby installed on your system. The line on the rvm rubygems script that generates the error is this:</p> <p><code>__rvm_run "rubygems.install" \ "GEM_PATH=\"$GEM_PATH:${GEM_PATH%%@*}@global\" GEM_HOME=\"$GEM_HOME\" \"${rvm_ruby_binary}\" \"${rvm_src_path}/$rvm_gem_package_name/setup.rb\"" \ "Installing $rvm_gem_package_name for ${rvm_ruby_string} ..."</code> <a href="https://github.com/wayneeseguin/rvm/blob/master/scripts/rubygems#L104">https://github.com/wayneeseguin/rvm/blob/master/scripts/rubygems#L104</a></p> <p>I think that internally rvm is losing itself and creating paths with the double slash on it, probably because RVM is appending the RVM local dir with the output of some command similar to <code>which ruby</code> (or whatever the path rvm is searching for may be). I really don't know why it does that (doesn't RVM work in a system with ruby installed?).</p> <p>Anyhow, to fix that in my machine I simply ran <code>sudo aptitude purge ruby</code> (you would of course run the MAC equivalent of that), to remove the ruby version that was messing with rvm.</p> <p>If you have something related with ruby installed on your computer, I think a good idea would be to remove them all, and use RVM to manage all your ruby related goodness.</p> <p>On linux (debian/ubuntu), a good approach is typing <code>dpkg -l | grep ruby</code> to see which packages related to ruby are installed on your machine, and then purge them all.</p> <p>After that, run</p> <pre><code>$ rvm use 1.9.2 $ rvm rubygems latest </code></pre> <p>Everything should work like a charm. At least uninstalling ruby worked for me.</p> <p>Hope it helps.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload