I got this error “attempting to install libv8 failed to build gem native extension” when I tried to install Redmine 3.2 on Ubuntu 14.04 and I found this solution which works for me
The solution is to install version .0
gem install libv8 –version 3.11.8.0