Due to Mavericks having some issues with selecting the right C-compiler sometimes when running bundle install
I have to install some of my gems with special flags.
One example of this is I have to run: gem install nokogiri -- --use-system-libraries
.
This is further discussed here: Error to install Nokogiri on OSX 10.9 Maverick?
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 gem install
that it should install as "deployment"-gem.
Any other suggestions as how to solve this problem or why I'm having it would be very welcome.