{"content":[{"text":"Enviroment Verification and Configuration","bbox":{"left":0.095462,"top":0.082334,"width":0.5420929999999999,"height":0.021362000000000006}},{"text":"The tools pageanalyzer.rb, change_detection.rb and capture.rb are written in Ruby 1.9.1. In the \n other hand for the change detection process others tools are used that are written in Java, therefore \n this should be taken into account in the enviroment verification process. The development \n enviroment was Linux Ubuntu 11.40, the package description is done following its repositories, but \n in theory should be compatible with debien repos.","bbox":{"left":0.095462,"top":0.127799,"width":0.809221,"height":0.081341}},{"text":"Ruby Installation \n We need to be carefull with this step because the software won't work on the 1.8.x versions of Ruby.","bbox":{"left":0.095462,"top":0.223903,"width":0.808276,"height":0.042124999999999996}},{"text":"sudo apt-get install ruby1.9.1-full","bbox":{"left":0.097983,"top":0.284095,"width":0.37058800000000003,"height":0.018982999999999972}},{"text":"After that we should check that both, ruby and rubygems, are been properly installed.","bbox":{"left":0.095462,"top":0.327918,"width":0.6884979999999999,"height":0.01578299999999999}},{"text":"$ ruby -v \n 1.9.2p290","bbox":{"left":0.097983,"top":0.361767,"width":0.095294,"height":0.03798600000000002}},{"text":"(2011-07-09 revision","bbox":{"left":0.203866,"top":0.38077,"width":0.211764,"height":0.018983000000000028}},{"text":"32533) [i686-linux]","bbox":{"left":0.426219,"top":0.38077,"width":0.20117600000000002,"height":0.018983000000000028}},{"text":"It is enough to match the version number. Any doubts there are several tutorials to do this [1]. Now \n we check the rubygems package manager:","bbox":{"left":0.095462,"top":0.424592,"width":0.7982959999999999,"height":0.03217299999999995}},{"text":"$ gem -v \n 1.3.7","bbox":{"left":0.097983,"top":0.474831,"width":0.08470599999999999,"height":0.037985999999999964}},{"text":"Installing Dependencies \n After the language and the package manager are properly configured and installed, we may proceed \n to install the dependencies: \n sudo gem install --version '= 0.8.6' hpricot \n sudo apt-get install libxslt-dev libxml2-dev \n sudo gem install --version '= 1.5.5' nokogiri \n sudo gem install --version '= 2.0.3' sanitize \n sudo gem install --version '= 2.25.0' selenium-webdriver \n sudo apt-get install openjdk-6-jdk \n sudo apt-get install imagemagick","bbox":{"left":0.095462,"top":0.551813,"width":0.8043839999999999,"height":0.20031500000000002}},{"text":"Note1: Installing the selenium-webdriver can cause some warnings in text encoding that should be \n fine, in almost all the cases. \n Note 2: The java installation is a reference to remember that it should be present. \n Note 3: ImageMagick 6 is optional, only needed for thumbnailing and cropping web page viewport. \n This thumbs area usefull for integrating with other tools and for future optimization of change \n detection process . If you don't want to use it ignoring parameter “--thumb” should do the trick","bbox":{"left":0.095462,"top":0.784093,"width":0.806178,"height":0.11198299999999994}}],"images_bbox":[],"images_bbox_not_text_overlap":[]}