title: Passing install flags when installing gems with bundler
body: <p>Due to Mavericks having some issues with selecting the right C-compiler sometimes when running <code>bundle install</code> I have to install some of my gems with special flags.</p>
  
  <p>One example of this is I have to run: <code>gem install nokogiri -- --use-system-libraries</code>.
  This is further discussed here: <a href="https://stackoverflow.com/questions/19643153/error-to-install-nokogiri-on-osx-10-9-maverick">Error to install Nokogiri on OSX 10.9 Maverick?</a></p>
  
  <p>So my question is: Is there a way to tell bundler to use system libraries when installing nokogiri? Or is there a way to tell <code>gem install</code> that it should install as "deployment"-gem.</p>
  
  <p>Any other suggestions as how to solve this problem or why I'm having it would be very welcome.</p>