Note that there are some explanatory texts on larger screens.

plurals
  1. PORVM can't set ruby as default
    primarykey
    data
    text
    <p>I have no idea why but RVM can't seem to change the default Ruby. I'm using Oh My Zsh and tried <em>everything</em> I've found but nothing seems to work.</p> <pre><code>➜ Sites rvm use 2.0.0 --default Using /Users/anahkiasen/.rvm/gems/ruby-2.0.0-p247 ➜ Sites rvm list rvm rubies =* ruby-2.0.0-p247 [ x86_64 ] # =&gt; - current # =* - current &amp;&amp; default # * - default ➜ Sites rvm reload &amp;&amp; rvm list RVM reloaded! rvm rubies * ruby-2.0.0-p247 [ x86_64 ] # =&gt; - current # =* - current &amp;&amp; default # * - default </code></pre> <p>Now the Ruby is set as default but RVM doesn't load it as "current", which means it does not load the gemsets that are affiliated to it.</p> <pre><code>➜ Sites rvm use 2.0.0 Using /Users/anahkiasen/.rvm/gems/ruby-2.0.0-p247 ➜ Sites gem list *** LOCAL GEMS *** backports (3.3.3) bson (1.9.1) bson_ext (1.9.1) bundler (1.3.5) bundler-unload (1.0.1) eventmachine (1.0.3) genghisapp (2.3.7) json (1.8.0) mongo (1.9.0) mustache (0.99.4) rack (1.5.2) rack-protection (1.5.0) rack-test (0.6.2) rake (10.1.0) rubygems-bundler (1.2.2) rvm (1.11.3.8) sass (3.2.10) sass-globbing (1.1.0) sinatra (1.4.3) sinatra-contrib (1.4.0) sinatra-mustache (0.1.0) tilt (1.4.1) vegas (0.1.11) ➜ Sites rvm reload &amp;&amp; gem list RVM reloaded! *** LOCAL GEMS *** Nothing. </code></pre> <p>I have no <code>.bashrc</code> nor <code>.bash_profile</code>. There is no RVM reference in my <code>.zprofile</code> and here is my <code>.zshrc</code> :</p> <pre><code># Path to your oh-my-zsh configuration. ZSH=$HOME/.oh-my-zsh # Set name of the theme to load. ZSH_THEME="robbyrussell" DEFAULT_USER="anahkiasen" # Uncomment following line if you want red dots to be displayed while waiting for completion COMPLETION_WAITING_DOTS="true" # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) plugins=(git bower brew composer gem laravel sublime) ## RVM and Rubygems [[ -s "$HOME/.rvm/scripts/rvm" ]] &amp;&amp; . "$HOME/.rvm/scripts/rvm" source $ZSH/oh-my-zsh.sh </code></pre> <p>I've tried swapping the above two lines, tried moving the RVM loading into <code>.zprofile</code>, nothing. Everytime I open a new instance of the terminal, the default is gone. It loads the correct ruby, meaning if I do <code>ruby -v</code> I get the version I want, but for RVM it's not loaded and thus I have none of the gemsets.</p> <p>I've also tried <code>rvm --default use 2.0.0</code>, <code>rvm use 2.0.0@develop --default</code> but same result.</p> <p>I've reinstalled RVM, I've set recursively the permissions of the <code>.rvm</code> folder to the current user, nothing.</p> <p>I'm kind of desperate at that point.</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.
 

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