Rebuild bundler gems with native extensions
If you are using bundler to manage your project's gem dependencies, and you need to rebuild the native extensions for one of those gems, you can do so like this:
bundle exec gem pristine <name>
This is pretty helpful whenever you update a system package (headers, definitions, etc...) and need your gems to recompile against those newer libraries.
See docs on gem pristine for more details.
Written by S.R.Garcia
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Bundler
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#