I have added the gem \'sunspot_rails\' in my gem file and ran bundle install. I have been getting errors in installing libv8 and the error message is as follows:
<
Force extconf.rb file to require rubygems on install:
RUBYOPT=-rrubygems gem install libv8 -v '3.3.10.4'
Found here: https://coderwall.com/p/y1djxq