Add message to install rest-client when it was not installed.

Change-Id: I72ece1c52c38dc05df6d35325d615ca8aabef358
diff --git a/scripts/intent-installer.rb b/scripts/intent-installer.rb
index 3112a98..ad7e34e 100755
--- a/scripts/intent-installer.rb
+++ b/scripts/intent-installer.rb
@@ -1,6 +1,14 @@
 #!/usr/bin/env ruby
 
+begin
 require "rest-client"
+rescue LoadError => e
+  puts "This scripts requires rubygems rest-client."
+  puts "Please install them using gem command. You may need to add sudo."
+  puts " $ gem install rest-client"
+  puts
+  exit -1
+end
 require "optparse"
 
 options = {