therubyracer incompatible library version

285 Views Asked by At

My application is running on ubuntu 16.04 with ruby 2.1.4p265 and rails 4.2.2. I get the following error

incompatible library version - /home/aktivlearnadmin/.rvm/gems/ruby-2.1.4/gems/therubyracer-0.12.2/lib/v8/init.so (LoadError)
/home/aktivlearnadmin/.rvm/gems/ruby-2.1.4/gems/therubyracer-0.12.2/lib/v8.rb:4:in `require'
/home/aktivlearnadmin/.rvm/gems/ruby-2.1.4/gems/therubyracer-0.12.2/lib/v8.rb:4:in `<top (required)>'

This error doesn't happen in ubuntu 14.04. Any solution to fix it?

0

There are 0 best solutions below