I am having a weird issue with rvm in bundler. `whence bundle` shows that I am using bundle for ruby 2.2.10. `rvm list` shows I have the correct version of ruby selected and ruby --version verifies this
however, when I bundle install and then try to bundle exec something I get "LoadError: incompatible library version - /home/jmetzmeier/prog/board/vendor/bundle/ruby/2.2.0/gems/pg-0.18.2/lib/pg_ext.so"
running ldd on the so shows that it's linked against libruby.so.2.5 instead of 2.2. any ideas on why it's compiling the native extension linked against the wrong version?
gem which bundler -> /home/jmetzmeier/.rvm/rubies/ruby-2.2.10/lib/ruby/site_ruby/2.2.0/bundler.rb