Getting an error when trying to install the gem devise, the installation is stopping on the gem bcrypt-ruby:
$ gem install bcrypt-ruby
Error installing bcry
I'm using RVM & I kept having this issue whenever installing gems with native extensions (bcrypt-ruby, bson-ext, json, eventmachine, nokogiri, linecache19, etc.)
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
Only way I could finally get things working was to uninstall then re-install ruby.
rvm remove 1.9.2
rvm install 1.9.2
Thanks to tip from @doublebee here: https://github.com/flori/json/issues/78#issuecomment-1499920