title: How to use gems not in a Gemfile when working with bundler?
body: <p>When using bundler with a project in general and Rails specifically, you have access only to gems defined in your Gemfile. While this makes sense, it can be limiting. Mostly I find it limiting when I want to use a certain RSpec formatter that the rest of the team doesn't use. Unless it's in the Gemfile, it isn't accessible.</p>
  
  <p>Any way around it or I have to add it to Gemfile?</p>
  
  <p>Update: my problem wasn't Bundler but Spork. When running RSpec without Spork I had no problem of using whatever formatter I wanted.</p>
  
  <p>Update #2: it looks like that using Bundler is still the cause of the problem. The difference between using Spork and not using Spork, is that when running RSpec without Spork, it loads the formatter before loading your project and getting into the Bundler "sandbox".</p>
  
  <p>With Bundler:</p>
  
  <pre><code>$ bundle exec irb
  &gt;&gt; require 'fivemat'
  LoadError: cannot load such file -- fivemat
  
  from (irb):1:in `require'
  from (irb):1
  from /Users/arikfr/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `&lt;main&gt;'
  </code></pre>
  
  <p>Without Bundler:</p>
  
  <pre><code>$ irb
  &gt;&gt; require 'fivemat'
  =&gt; true
  </code></pre>