I'm running Ruby 2.2.3p173 on Ubuntu 15.10 with Capistrano for deployment. Deployment went off without a problem and bundled successfully but if I try to open the rails console, I get this with no additional information outside of the backtrace:
Error:
/home/anthony/apps/portal/shared/bundle/ruby/2.2.0/gems/nokogiri-1.6.7/lib/nokogiri.rb:29:in 'require': incompatible library version -`
/home/anthony/apps/portal/shared/bundle/ruby/2.2.0/gems/nokogiri-1.6.7/lib/nokogiri/nokogiri.so (LoadError)`
If I open irb, I can require 'nokogiri'
and it works fine, but when I use bundler with Bundler.require
, I get the same error.
I've tried uninstalling and reinstalling nokogiri and updating to the newest version. Also went through the advice in the official tutorial here.