title: Error when running msfconsole in arch linux
body: <p>I get this error when running msfconsole in arch linux</p>
  
  <pre><code>$ msfconsole         
  Could not find rake-12.3.1 in any of the sources
  Run `bundle install` to install missing gems.
  </code></pre>
  
  <p>I was searching google for the solution and I found out that installing gem files on msfconsole directory fixes the issue.</p>
  
  <p>So I <code>cd</code> to <code>/opt/metasploit</code></p>
  
  <p>then <code>bundle install</code> </p>
  
  <p>finally running <code>msfconsole</code> inside this directory works. </p>
  
  <p>The problem is if I am outside this directory it's giving me the error again. 
  What are the possible causes of this error? 
  What are the possible fixes on this error?</p>
  
  <p>Thanks.</p>