https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112012-02-03T04:40:14ZRuby Issue Tracking SystemRuby master - Bug #5960: Error with rvm default gemset and rails rakehttps://redmine.ruby-lang.org/issues/5960?journal_id=235122012-02-03T04:40:14Zfunny_falcon (Yura Sokolov)funny.falcon@gmail.com
<ul></ul><p>I could not really say, if this bug of Ruby or RVM</p> Ruby master - Bug #5960: Error with rvm default gemset and rails rakehttps://redmine.ruby-lang.org/issues/5960?journal_id=235222012-02-03T22:00:09Znaruse (Yui NARUSE)naruse@airemix.jp
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Third Party's Issue</i></li></ul><p>It is because,</p>
<ul>
<li>the command <code>rake</code> is /home/yura/.rvm/gems/ruby-1.9.3-p0-test/bin/rake.<br>
so it loads files in /home/yura/.rvm/gems/ruby-1.9.3-p0-test@global/gems/rake-0.9.2.2.</li>
<li>but on the line 'gem "rake"' it loads files in /home/yura/.rvm/gems/ruby-1.9.3-p0-test@global/gems/rake-0.9.2.2<br>
maybe because of its LOADPATH.<br>
So they are conflicted.</li>
</ul>
<p>This seems rvm's bug; PATH environment variable and LOADPATH should be consistent.</p>