Annoying libv8 error even after successful installation
OK. I am trying to load bootstarp for the first time, and I added the "therubyracer" and "less-rails" gems to my gemfile along with "twitter-bootstrap-rails". After
install package
I am getting the following error.
Bundler::GemspecError: Could not read gem at /home/addie/.rvm/gems/ruby-2.1.1/cache/libv8-3.16.14.3-x86_64-linux.gem. It may be corrupted.
An error occurred while installing libv8 (3.16.14.3), and Bundler cannot
continue.
Make sure that `gem install libv8 -v '3.16.14.3'` succeeds before bundling.
as they say I tried:
gem install libv8 -v '3.16.14.3'
and he is doing well.
Building native extensions. This could take a while...
Successfully installed libv8-3.16.14.3
Parsing documentation for libv8-3.16.14.3
Done installing documentation for libv8 after 0 seconds
1 gem installed
but when I try to install the package again, I get the same error as before:
Bundler::GemspecError: Could not read gem at /home/addie/.rvm/gems/ruby-2.1.1/cache/libv8-3.16.14.3-x86_64-linux.gem. It may be corrupted.
An error occurred while installing libv8 (3.16.14.3), and Bundler cannot
continue.
Make sure that `gem install libv8 -v '3.16.14.3'` succeeds before bundling.
This is so annoying! Can someone please help me?
EDIT:
As most solutions for libv8 can be found, I have tried
gem install libv8 -v '3.11.8.17' - --with-system-v8
this succeeds too, but is irrelevant for the install error setting.
source to share
Try the following steps:
-
Delete current version
libv8
gem remove libv8
-
Reinstall
libv8
gem install libv8
-
Check the new version number
list of precious stones | grep libv
-
Upgrade
Gemfile
to the installed versionlibv8
obtained from (3) abovegem 'libv8', '3.11.8.3' #for example
-
Try to link again
package install
source to share