Commit a3fb85d903790d565983e4e0f22acf557d8292dc

Authored by Lucas Melo
1 parent 3ef60724

add the nokogiri gem as dependency

AI2762
INSTALL
... ... @@ -33,7 +33,7 @@ You need to install some packages Noosfero depends on. On Debian GNU/Linux or
33 33 Debian-based systems, all of these packages are available through the Debian
34 34 archive. You can install them with the following command:
35 35  
36   - # 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
  36 + # 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
37 37  
38 38 On other systems, they may or may not be available through your regular package
39 39 management system. Below are the links to their homepages.
... ... @@ -52,6 +52,7 @@ management system. Below are the links to their homepages.
52 52 * Thin: http://code.macournoyer.com/thin/
53 53 * tango-icon-theme: http://tango.freedesktop.org/Tango_Icon_Library
54 54 * Hpricot: http://hpricot.com/
  55 +* Nokogiri: http://nokogiri.org/
55 56  
56 57 If you manage to install Noosfero successfully on other systems than Debian,
57 58 please feel free to contact the Noosfero development mailing with the
... ...
config/initializers/dependencies.rb
... ... @@ -8,3 +8,4 @@ require 'route_if'
8 8  
9 9 # third-party libraries
10 10 require 'will_paginate'
  11 +require 'nokogiri'
... ...
debian/control
... ... @@ -43,6 +43,7 @@ Depends:
43 43 thin,
44 44 tango-icon-theme,
45 45 libhpricot-ruby,
  46 + libnokogiri-ruby,
46 47 memcached,
47 48 debconf,
48 49 dbconfig-common,
... ...
script/install-dependencies/debian-squeeze.sh
... ... @@ -4,7 +4,7 @@ run sudo apt-get -y install $runtime_dependencies
4 4 sudo apt-get -y install iceweasel || sudo apt-get -y install firefox
5 5  
6 6 # needed for development
7   -run sudo apt-get -y install libtidy-ruby libhpricot-ruby libmocha-ruby imagemagick po4a xvfb libxml2-dev libxslt-dev
  7 +run sudo apt-get -y install libtidy-ruby libhpricot-ruby libnokogiri-ruby libmocha-ruby imagemagick po4a xvfb libxml2-dev libxslt-dev
8 8 gem which bundler >/dev/null 2>&1 || gem_install bundler
9 9 setup_rubygems_path
10 10 run bundle install
... ...