okay. I am trying bootstarp for the first time and I added gems "therubyracer" and "less-rails" to my gemfile along with 'twitter-bootstrap-rails'. After
bundle install
I get 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 it says, I tried:
gem install libv8 -v '3.16.14.3'
and it does succeeds.
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 bundle install 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.
Its so annoying! Can someone please help me?
EDIT:
As most of the solution to libv8 questions suggest, I tried
gem install libv8 -v '3.11.8.17' -- --with-system-v8
it succeeds too but makes no difference to bundle install error.