Ensure libv8 is required when rubygems is not installed

Do not break the build process if rubygems cannot be required.
Instread try to require libv8 without selecting a version with gem
and warn the user about it. This is necessary as ruby 1.8 does not
ship with rubygems by default.