diff --git a/INSTALL b/INSTALL index f893636..b2ea80f 100644 --- a/INSTALL +++ b/INSTALL @@ -33,7 +33,7 @@ You need to install some packages Noosfero depends on. On Debian GNU/Linux or Debian-based systems, all of these packages are available through the Debian archive. You can install them with the following command: - # apt-get install ruby rake po4a libgettext-ruby-util libgettext-ruby1.8 libsqlite3-ruby rcov librmagick-ruby libredcloth-ruby libwill-paginate-ruby iso-codes libfeedparser-ruby libdaemons-ruby thin tango-icon-theme libhpricot-ruby + # apt-get install ruby rake po4a libgettext-ruby-util libgettext-ruby1.8 libsqlite3-ruby rcov librmagick-ruby libredcloth-ruby libwill-paginate-ruby iso-codes libfeedparser-ruby libdaemons-ruby thin tango-icon-theme libhpricot-ruby libnokogiri-ruby On other systems, they may or may not be available through your regular package management system. Below are the links to their homepages. @@ -52,6 +52,7 @@ management system. Below are the links to their homepages. * Thin: http://code.macournoyer.com/thin/ * tango-icon-theme: http://tango.freedesktop.org/Tango_Icon_Library * Hpricot: http://hpricot.com/ +* Nokogiri: http://nokogiri.org/ If you manage to install Noosfero successfully on other systems than Debian, please feel free to contact the Noosfero development mailing with the diff --git a/config/initializers/dependencies.rb b/config/initializers/dependencies.rb index 65fa81a..cf78eda 100644 --- a/config/initializers/dependencies.rb +++ b/config/initializers/dependencies.rb @@ -8,3 +8,4 @@ require 'route_if' # third-party libraries require 'will_paginate' +require 'nokogiri' diff --git a/debian/control b/debian/control index 2a88e6a..c6f0785 100644 --- a/debian/control +++ b/debian/control @@ -43,6 +43,7 @@ Depends: thin, tango-icon-theme, libhpricot-ruby, + libnokogiri-ruby, memcached, debconf, dbconfig-common, diff --git a/script/install-dependencies/debian-squeeze.sh b/script/install-dependencies/debian-squeeze.sh index 921a13b..2cca154 100644 --- a/script/install-dependencies/debian-squeeze.sh +++ b/script/install-dependencies/debian-squeeze.sh @@ -4,7 +4,7 @@ run sudo apt-get -y install $runtime_dependencies sudo apt-get -y install iceweasel || sudo apt-get -y install firefox # needed for development -run sudo apt-get -y install libtidy-ruby libhpricot-ruby libmocha-ruby imagemagick po4a xvfb libxml2-dev libxslt-dev +run sudo apt-get -y install libtidy-ruby libhpricot-ruby libnokogiri-ruby libmocha-ruby imagemagick po4a xvfb libxml2-dev libxslt-dev gem which bundler >/dev/null 2>&1 || gem_install bundler setup_rubygems_path run bundle install -- libgit2 0.21.2