$ ssh redtry root@redtry:~# cd redmine root@redtry:~/redmine# ls Gemfile Rakefile config.ru extra log script Gemfile.lock app db files plugins test README.rdoc config doc lib public tmp root@redtry:~/redmine# svn update Skipped '.' root@redtry:~/redmine# git pull remote: Counting objects: 1731, done. remote: Compressing objects: 100% (520/520), done. remote: Total 1330 (delta 1033), reused 1077 (delta 797) Receiving objects: 100% (1330/1330), 396.64 KiB, done. Resolving deltas: 100% (1033/1033), completed with 226 local objects. From git://github.com/redmine/redmine 594a7bd..252df8d 2.2-stable -> origin/2.2-stable eb5675f..d8e4a8f master -> origin/master Updating eb5675f..d8e4a8f Fast-forward Gemfile | 15 +- app/controllers/account_controller.rb | 13 +- app/controllers/admin_controller.rb | 4 +- app/controllers/auto_completes_controller.rb | 6 +- app/controllers/boards_controller.rb | 9 +- app/controllers/custom_fields_controller.rb | 2 + app/controllers/issue_statuses_controller.rb | 2 +- app/controllers/issues_controller.rb | 10 +- app/controllers/messages_controller.rb | 2 +- app/controllers/projects_controller.rb | 2 +- app/controllers/repositories_controller.rb | 2 +- app/controllers/timelog_controller.rb | 2 +- app/controllers/users_controller.rb | 2 +- app/controllers/watchers_controller.rb | 54 +- app/controllers/wiki_controller.rb | 2 +- app/helpers/application_helper.rb | 21 +- app/helpers/custom_fields_helper.rb | 2 +- app/helpers/groups_helper.rb | 2 +- app/helpers/members_helper.rb | 2 +- app/helpers/queries_helper.rb | 33 +- app/helpers/settings_helper.rb | 2 +- app/helpers/timelog_helper.rb | 6 +- app/helpers/watchers_helper.rb | 31 +- app/models/attachment.rb | 2 +- app/models/board.rb | 2 +- app/models/custom_field.rb | 8 +- app/models/group.rb | 2 +- app/models/issue.rb | 44 +- app/models/issue_query.rb | 201 +-- app/models/mail_handler.rb | 6 +- app/models/member.rb | 21 +- app/models/member_role.rb | 23 +- app/models/news.rb | 4 + app/models/principal.rb | 10 + app/models/project.rb | 62 +- app/models/query.rb | 55 +- app/models/setting.rb | 18 +- app/models/time_entry_query.rb | 40 +- app/models/token.rb | 34 +- app/models/user.rb | 81 +- app/views/account/logout.html.erb | 3 + app/views/boards/show.html.erb | 2 +- app/views/context_menus/issues.html.erb | 9 +- app/views/custom_fields/_form.html.erb | 15 +- app/views/gantts/show.html.erb | 14 +- app/views/groups/_form.html.erb | 2 +- app/views/issues/_action_menu.html.erb | 2 +- app/views/issues/index.api.rsb | 1 + app/views/issues/show.api.rsb | 7 + .../{_update_form.js.erb => update_form.js.erb} | 0 app/views/messages/show.html.erb | 2 +- app/views/news/show.html.erb | 2 +- app/views/projects/_form.html.erb | 29 +- app/views/projects/settings/_modules.html.erb | 6 +- app/views/settings/_authentication.html.erb | 2 + app/views/settings/_projects.html.erb | 3 + app/views/watchers/_new.html.erb | 10 +- app/views/watchers/_set_watcher.js.erb | 2 +- app/views/wiki/date_index.html.erb | 2 +- app/views/wiki/index.html.erb | 2 +- app/views/wiki/show.html.erb | 2 +- config/database.yml.example | 31 +- config/locales/ar.yml | 3 + config/locales/az.yml | 1184 ++++++++++++ config/locales/bg.yml | 6 +- config/locales/bs.yml | 3 + config/locales/ca.yml | 3 + config/locales/cs.yml | 3 + config/locales/da.yml | 3 + config/locales/de.yml | 15 +- config/locales/el.yml | 3 + config/locales/en-GB.yml | 3 + config/locales/en.yml | 3 + config/locales/es.yml | 15 +- config/locales/et.yml | 3 + config/locales/eu.yml | 3 + config/locales/fa.yml | 3 + config/locales/fi.yml | 3 + config/locales/fr.yml | 3 + config/locales/gl.yml | 3 + config/locales/he.yml | 3 + config/locales/hr.yml | 3 + config/locales/hu.yml | 3 + config/locales/id.yml | 3 + config/locales/it.yml | 7 +- config/locales/ja.yml | 14 +- config/locales/ko.yml | 3 + config/locales/lt.yml | 3 + config/locales/lv.yml | 3 + config/locales/mk.yml | 3 + config/locales/mn.yml | 3 + config/locales/nl.yml | 3 + config/locales/no.yml | 3 + config/locales/pl.yml | 182 +- config/locales/pt-BR.yml | 3 + config/locales/pt.yml | 3 + config/locales/ro.yml | 3 + config/locales/ru.yml | 35 +- config/locales/sk.yml | 3 + config/locales/sl.yml | 3 + config/locales/sq.yml | 3 + config/locales/sr-YU.yml | 3 + config/locales/sr.yml | 3 + config/locales/sv.yml | 3 + config/locales/th.yml | 3 + config/locales/tr.yml | 3 + config/locales/uk.yml | 3 + config/locales/vi.yml | 3 + config/locales/zh-TW.yml | 3 + config/locales/zh.yml | 3 + config/routes.rb | 19 +- config/settings.yml | 5 + db/migrate/001_setup.rb | 2 +- ...30201184705_add_unique_index_on_tokens_value.rb | 15 + .../20130202090625_add_projects_inherit_members.rb | 9 + ...6_add_unique_index_on_custom_fields_trackers.rb | 24 + ...5_add_unique_index_on_custom_fields_projects.rb | 24 + ...15073721_change_users_lastname_length_to_255.rb | 9 + db/migrate/20130215111127_add_issues_closed_on.rb | 9 + .../20130215111141_populate_issues_closed_on.rb | 25 + ...130217094251_remove_issues_default_fk_values.rb | 19 + doc/CHANGELOG | 13 + doc/RUNNING_TESTS | 11 +- extra/mail_handler/rdm-mailhandler.rb | 4 +- .../sample_plugin/test/integration/routing_test.rb | 2 +- lib/SVG/Graph/Bar.rb | 296 ++-- lib/SVG/Graph/BarBase.rb | 278 ++-- lib/SVG/Graph/BarHorizontal.rb | 298 ++-- lib/SVG/Graph/Graph.rb | 1956 ++++++++++---------- lib/SVG/Graph/Pie.rb | 790 ++++---- lib/SVG/Graph/Plot.rb | 1000 +++++----- lib/SVG/Graph/TimeSeries.rb | 476 +++--- .../redmine_plugin/templates/en_rails_i18n.yml | 2 +- .../lib/acts_as_customizable.rb | 8 + lib/plugins/rfpdf/README | 6 +- lib/plugins/rfpdf/init.rb | 5 - lib/plugins/rfpdf/lib/tcpdf.rb | 16 +- lib/redmine.rb | 6 +- lib/redmine/scm/adapters/bazaar_adapter.rb | 6 +- lib/redmine/version.rb | 2 +- lib/redmine/views/builders/json.rb | 5 +- lib/tasks/ci.rake | 84 +- lib/tasks/testing.rake | 7 + public/javascripts/i18n/jquery.ui.datepicker-az.js | 23 + public/javascripts/jstoolbar/lang/jstoolbar-az.js | 16 + public/javascripts/jstoolbar/lang/jstoolbar-bg.js | 2 +- public/stylesheets/application.css | 21 +- test/fixtures/issues.yml | 3 + test/fixtures/users.yml | 9 +- test/functional/account_controller_test.rb | 13 +- test/functional/activities_controller_test.rb | 1 - test/functional/auto_completes_controller_test.rb | 8 +- test/functional/boards_controller_test.rb | 15 + test/functional/context_menus_controller_test.rb | 8 +- test/functional/custom_fields_controller_test.rb | 24 + test/functional/files_controller_test.rb | 1 - test/functional/gantts_controller_test.rb | 1 - test/functional/issues_controller_test.rb | 24 +- test/functional/previews_controller_test.rb | 1 - .../project_enumerations_controller_test.rb | 1 - test/functional/projects_controller_test.rb | 28 + test/functional/reports_controller_test.rb | 1 - test/functional/timelog_controller_test.rb | 4 +- test/functional/watchers_controller_test.rb | 51 +- test/functional/welcome_controller_test.rb | 7 + test/functional/wiki_controller_test.rb | 2 +- test/integration/admin_test.rb | 3 +- test/integration/api_test/attachments_test.rb | 3 +- test/integration/api_test/authentication_test.rb | 2 +- .../integration/api_test/disabled_rest_api_test.rb | 22 +- test/integration/api_test/enumerations_test.rb | 2 +- test/integration/api_test/groups_test.rb | 2 +- test/integration/api_test/http_basic_login_test.rb | 22 +- .../http_basic_login_with_api_token_test.rb | 22 +- test/integration/api_test/issue_categories_test.rb | 2 +- test/integration/api_test/issue_relations_test.rb | 3 +- test/integration/api_test/issue_statuses_test.rb | 2 +- test/integration/api_test/issues_test.rb | 53 +- test/integration/api_test/jsonp_test.rb | 28 +- test/integration/api_test/memberships_test.rb | 2 +- test/integration/api_test/news_test.rb | 5 +- test/integration/api_test/projects_test.rb | 2 +- test/integration/api_test/queries_test.rb | 3 +- test/integration/api_test/roles_test.rb | 2 +- test/integration/api_test/time_entries_test.rb | 3 +- .../api_test/token_authentication_test.rb | 22 +- test/integration/api_test/trackers_test.rb | 2 +- test/integration/api_test/users_test.rb | 4 +- test/integration/api_test/versions_test.rb | 3 +- test/integration/api_test/wiki_pages_test.rb | 2 +- test/integration/application_test.rb | 3 +- test/integration/issues_test.rb | 9 - test/integration/layout_test.rb | 3 +- test/integration/lib/redmine/menu_manager_test.rb | 3 +- test/integration/routing/account_test.rb | 10 +- test/integration/routing/issues_test.rb | 4 +- test/integration/routing/watchers_test.rb | 12 +- test/object_helpers.rb | 28 +- test/test_helper.rb | 527 +++--- test/ui/base.rb | 63 + test/ui/issues_test.rb | 202 ++ test/unit/attachment_test.rb | 66 +- test/unit/auth_source_ldap_test.rb | 83 +- test/unit/group_test.rb | 12 +- test/unit/helpers/application_helper_test.rb | 15 +- test/unit/helpers/issues_helper_test.rb | 241 ++-- test/unit/helpers/projects_helper_test.rb | 3 +- test/unit/helpers/queries_helper_test.rb | 50 +- test/unit/helpers/watchers_helper_test.rb | 69 + test/unit/issue_nested_set_test.rb | 9 +- test/unit/issue_test.rb | 461 +++-- test/unit/lib/redmine/helpers/gantt_test.rb | 1 - test/unit/lib/redmine/hook_test.rb | 2 +- test/unit/mail_handler_test.rb | 100 +- test/unit/mailer_test.rb | 64 +- test/unit/member_test.rb | 67 - test/unit/principal_test.rb | 86 +- test/unit/project_copy_test.rb | 324 ++++ test/unit/project_members_inheritance_test.rb | 260 +++ test/unit/project_test.rb | 705 +++----- test/unit/query_test.rb | 118 +- test/unit/time_entry_test.rb | 3 +- test/unit/token_test.rb | 52 + test/unit/user_test.rb | 17 +- 224 files changed, 7336 insertions(+), 4812 deletions(-) create mode 100644 app/views/account/logout.html.erb rename app/views/issues/{_update_form.js.erb => update_form.js.erb} (100%) create mode 100644 config/locales/az.yml create mode 100644 db/migrate/20130201184705_add_unique_index_on_tokens_value.rb create mode 100644 db/migrate/20130202090625_add_projects_inherit_members.rb create mode 100644 db/migrate/20130207175206_add_unique_index_on_custom_fields_trackers.rb create mode 100644 db/migrate/20130207181455_add_unique_index_on_custom_fields_projects.rb create mode 100644 db/migrate/20130215073721_change_users_lastname_length_to_255.rb create mode 100644 db/migrate/20130215111127_add_issues_closed_on.rb create mode 100644 db/migrate/20130215111141_populate_issues_closed_on.rb create mode 100644 db/migrate/20130217094251_remove_issues_default_fk_values.rb create mode 100644 public/javascripts/i18n/jquery.ui.datepicker-az.js create mode 100644 public/javascripts/jstoolbar/lang/jstoolbar-az.js create mode 100644 test/ui/base.rb create mode 100644 test/ui/issues_test.rb create mode 100644 test/unit/helpers/watchers_helper_test.rb create mode 100644 test/unit/project_copy_test.rb create mode 100644 test/unit/project_members_inheritance_test.rb root@redtry:~/redmine# rake db:migrate RAILS_ENV=production /var/lib/gems/1.8/gems/bundler-1.1.4/lib/bundler/dsl.rb:75:in `gem': You cannot specify the same gem twice with different version requirements. You specified: shoulda (~> 3.3.2) and shoulda (~> 2.11) root@redtry:~/redmine# bundle update /var/lib/gems/1.8/gems/bundler-1.1.4/lib/bundler/dsl.rb:75:in `gem': You cannot specify the same gem twice with different version requirements. You specified: shoulda (~> 3.3.2) and shoulda (~> 2.11) root@redtry:~/redmine# gem list *** LOCAL GEMS *** actionmailer (3.2.11, 3.2.9) actionpack (3.2.11, 3.2.9) activemodel (3.2.11, 3.2.9) activerecord (3.2.11, 3.2.9) activeresource (3.2.11, 3.2.9) activesupport (3.2.11, 3.2.9) arel (3.0.2) builder (3.0.0) bundler (1.1.4) coderay (1.0.8) erubis (2.7.0) fastercsv (1.5.5) guard (1.4.0) guard-test (0.7.0) hike (1.2.1) i18n (0.6.1) journey (1.0.4) jquery-rails (2.0.3) json (1.7.6, 1.7.5) listen (0.7.2, 0.6.0) mail (2.4.4) metaclass (0.0.1) mime-types (1.19) mocha (0.12.3) multi_json (1.5.0, 1.4.0) mysql (2.8.1) mysql2 (0.3.11) net-ldap (0.3.1) pg (0.14.1) polyglot (0.3.3) prototype-rails (3.2.1) rack (1.4.4, 1.4.1) rack-cache (1.2) rack-openid (1.3.1) rack-ssl (1.3.2) rack-test (0.6.2) rails (3.2.11, 3.2.9) railties (3.2.11, 3.2.9) rake (10.0.3, 10.0.2, 0.9.2.2) rb-fsevent (0.9.3, 0.9.2) rdoc (3.12) rmagick (2.13.1) ruby-openid (2.1.8) shoulda (2.11.3) sprockets (2.2.2) sqlite3 (1.3.6) test-unit (2.5.3) thor (0.16.0) tilt (1.3.3) treetop (1.4.12) tzinfo (0.3.35) yard (0.8.3) root@redtry:~/redmine# ls -a ~ . .bashrc .mysql_history .subversion redmine .. .bashrc.d .penv .viminfo .aptitude .gem .profile .vimrc .bash_history .gnupg .rnd a1-1_0_3.tar.gz .bash_profile .hushlogin .ssh application.css root@redtry:~/redmine# vi /root/.gem/specs/rubygems.org%80/ latest_specs.4.8 quick/ specs.4.8 root@redtry:~/redmine# vi /root/.gem/specs/rubygems.org%80/latest_specs.4.8 root@redtry:~/redmine# vi /root/.gem/specs/rubygems.org%80/ latest_specs.4.8 quick/ specs.4.8 root@redtry:~/redmine# vi /root/.gem/specs/rubygems.org%80/quick/Marshal.4.8/ Display all 208 possibilities? (y or n) actionmailer-3.2.11.gemspec multi_json-1.3.2.gemspec actionmailer-3.2.5.gemspec multi_json-1.3.3.gemspec actionpack-3.2.11.gemspec multi_json-1.3.4.gemspec actionpack-3.2.5.gemspec multi_json-1.3.5.gemspec activemodel-3.2.11.gemspec multi_json-1.3.6.gemspec activemodel-3.2.5.gemspec multi_json-1.3.7.gemspec activerecord-3.2.11.gemspec multi_json-1.4.0.gemspec activerecord-3.2.5.gemspec multi_json-1.5.0.gemspec activeresource-3.2.11.gemspec mysql-2.9.0.gemspec activeresource-3.2.5.gemspec mysql2-0.3.11.gemspec activesupport-3.2.11.gemspec polyglot-0.3.3.gemspec activesupport-3.2.5.gemspec rack-1.0.0.gemspec arel-3.0.2.gemspec rack-1.0.1.gemspec builder-3.0.0.gemspec rack-1.1.0.gemspec builder-3.0.1.gemspec rack-1.1.1.gemspec builder-3.0.2.gemspec rack-1.1.2.gemspec builder-3.0.3.gemspec rack-1.1.3.gemspec builder-3.0.4.gemspec rack-1.1.4.gemspec builder-3.1.4.gemspec rack-1.1.5.gemspec bundler-1.0.0.gemspec rack-1.2.0.gemspec bundler-1.0.10.gemspec rack-1.2.1.gemspec bundler-1.0.11.gemspec rack-1.2.2.gemspec bundler-1.0.12.gemspec rack-1.2.3.gemspec bundler-1.0.13.gemspec rack-1.2.4.gemspec root@redtry:~/redmine# vi /root/.gem/specs/rubygems.org%80/quick/Marshal.4.8/shoulda-3.3.2.gemspec .git/ README.rdoc db/ log/ tmp/ .gitignore Rakefile doc/ plugins/ .hgignore app/ extra/ public/ Gemfile config/ files/ script/ Gemfile.lock config.ru lib/ test/ root@redtry:~/redmine# vi /root/.gem/specs/rubygems.org%80/quick/Marshal.4.8/shoulda-3.3.2.gemspec ^C root@redtry:~/redmine# git branch * master root@redtry:~/redmine# ls Gemfile Rakefile config.ru extra log script Gemfile.lock app db files plugins test README.rdoc config doc lib public tmp root@redtry:~/redmine# ls -ltr total 104 -rw-r--r-- 1 www-data root 275 Dec 2 22:47 Rakefile -rw-r--r-- 1 www-data root 205 Dec 2 22:47 README.rdoc drwxr-xr-x 6 www-data root 4096 Dec 2 22:47 app -rw-r--r-- 1 www-data root 160 Dec 2 22:47 config.ru drwxr-xr-x 5 www-data root 4096 Dec 2 22:47 extra drwxr-xr-x 2 www-data root 4096 Dec 2 22:47 script drwxr-xr-x 3 www-data root 4096 Dec 2 23:15 db drwxr-xr-x 8 www-data root 4096 Dec 3 22:08 public drwxr-xr-x 3 www-data root 4096 Dec 3 22:45 plugins drwxr-xr-x 9 www-data root 4096 Dec 3 22:47 tmp drwxr-xr-x 3 www-data root 36864 Jan 2 10:09 files -rw-r--r-- 1 www-data root 2977 Jan 22 18:33 Gemfile.lock drwxr-xr-x 2 www-data root 4096 Jan 22 18:46 log -rw-r--r-- 1 root root 2987 Feb 17 13:11 Gemfile drwxr-xr-x 2 www-data root 4096 Feb 17 13:11 doc drwxr-xr-x 5 www-data root 4096 Feb 17 13:11 config drwxr-xr-x 7 www-data root 4096 Feb 17 13:11 lib drwxr-xr-x 9 www-data root 4096 Feb 17 13:11 test root@redtry:~/redmine# vi README.rdoc root@redtry:~/redmine# git log commit d8e4a8fb320625474e20901b4070763bd697807a Author: Jean-Philippe Lang Date: Sun Feb 17 11:35:42 2013 +0000 Use #per_page instead of #items_per_page. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11425 e93f8b46-121 commit c17ec1643c005036870b45c7b496bbbb3a9784be Author: Jean-Philippe Lang Date: Sun Feb 17 11:10:17 2013 +0000 Fixed that messages are not sorted by last reply (#12243). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11424 e93f8b46-121 commit dbf1fed6fbd5d572688c92fd014b96ec21864c63 Author: Toshi MARUYAMA Date: Sun Feb 17 10:17:33 2013 +0000 replace tabs to spaces at app/controllers/boards_controller.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11423 e93f8b46-121 root@redtry:~/redmine# ls -l total 104 -rw-r--r-- 1 root root 2987 Feb 17 13:11 Gemfile -rw-r--r-- 1 www-data root 2977 Jan 22 18:33 Gemfile.lock -rw-r--r-- 1 www-data root 205 Dec 2 22:47 README.rdoc -rw-r--r-- 1 www-data root 275 Dec 2 22:47 Rakefile drwxr-xr-x 6 www-data root 4096 Dec 2 22:47 app drwxr-xr-x 5 www-data root 4096 Feb 17 13:11 config -rw-r--r-- 1 www-data root 160 Dec 2 22:47 config.ru drwxr-xr-x 3 www-data root 4096 Dec 2 23:15 db drwxr-xr-x 2 www-data root 4096 Feb 17 13:11 doc drwxr-xr-x 5 www-data root 4096 Dec 2 22:47 extra drwxr-xr-x 3 www-data root 36864 Jan 2 10:09 files drwxr-xr-x 7 www-data root 4096 Feb 17 13:11 lib drwxr-xr-x 2 www-data root 4096 Jan 22 18:46 log drwxr-xr-x 3 www-data root 4096 Dec 3 22:45 plugins drwxr-xr-x 8 www-data root 4096 Dec 3 22:08 public drwxr-xr-x 2 www-data root 4096 Dec 2 22:47 script drwxr-xr-x 9 www-data root 4096 Feb 17 13:11 test drwxr-xr-x 9 www-data root 4096 Dec 3 22:47 tmp root@redtry:~/redmine# rake db:migrate RAILS_ENV=production /var/lib/gems/1.8/gems/bundler-1.1.4/lib/bundler/dsl.rb:75:in `gem': You cannot specify the same gem twice with different version requirements. You specified: shoulda (~> 3.3.2) and shoulda (~> 2.11) root@redtry:~/redmine# ls plugins/*/gem* ls: cannot access plugins/*/gem*: No such file or directory root@redtry:~/redmine# ls plugins/*/Gem* plugins/jl_question/Gemfile root@redtry:~/redmine# vi plugins/jl_question/Gemfile root@redtry:~/redmine# rake db:migrate RAILS_ENV=production Could not find gem 'rails (= 3.2.12) ruby' in the gems available on this machine. Run `bundle install` to install missing gems. root@redtry:~/redmine# bundle install Fetching gem metadata from http://rubygems.org/......... Fetching gem metadata from http://rubygems.org/......... Fetching gem metadata from http://rubygems.org/.. Fetching gem metadata from http://rubygems.org/.. Bundler could not find compatible versions for gem "activesupport": In snapshot (Gemfile.lock): activesupport (3.2.11) In Gemfile: rails (= 3.2.12) ruby depends on activesupport (= 3.2.12) ruby Running `bundle update` will rebuild your snapshot from scratch, using only the gems in your Gemfile, which may resolve the conflict. root@redtry:~/redmine# bundle update Fetching gem metadata from http://rubygems.org/......... Fetching gem metadata from http://rubygems.org/......... Fetching gem metadata from http://rubygems.org/.. Fetching gem metadata from http://rubygems.org/.. Using rake (10.0.3) Using i18n (0.6.1) Installing multi_json (1.6.1) Installing activesupport (3.2.12) Using builder (3.0.0) Installing activemodel (3.2.12) Using erubis (2.7.0) Using journey (1.0.4) Installing rack (1.4.5) Using rack-cache (1.2) Using rack-test (0.6.2) Using hike (1.2.1) Using tilt (1.3.3) Using sprockets (2.2.2) Installing actionpack (3.2.12) Installing mime-types (1.21) Using polyglot (0.3.3) Using treetop (1.4.12) Using mail (2.4.4) Installing actionmailer (3.2.12) Using arel (3.0.2) Using tzinfo (0.3.35) Installing activerecord (3.2.12) Installing activeresource (3.2.12) Using metaclass (0.0.1) Installing mocha (0.10.5) Installing bourne (1.1.2) Using bundler (1.1.4) Installing nokogiri (1.5.6) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb checking for libxml/parser.h... yes checking for libxslt/xslt.h... no ----- libxslt is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies. ----- *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/ruby1.8 --with-zlib-dir --without-zlib-dir --with-zlib-include --without-zlib-include=${zlib-dir}/include --with-zlib-lib --without-zlib-lib=${zlib-dir}/lib --with-iconv-dir --without-iconv-dir --with-iconv-include --without-iconv-include=${iconv-dir}/include --with-iconv-lib --without-iconv-lib=${iconv-dir}/lib --with-xml2-dir --without-xml2-dir --with-xml2-include --without-xml2-include=${xml2-dir}/include --with-xml2-lib --without-xml2-lib=${xml2-dir}/lib --with-xslt-dir --without-xslt-dir --with-xslt-include --without-xslt-include=${xslt-dir}/include --with-xslt-lib --without-xslt-lib=${xslt-dir}/lib --with-libxslt-config --without-libxslt-config --with-pkg-config --without-pkg-config --with-libxml-2.0-config --without-libxml-2.0-config --with-libiconv-config --without-libiconv-config Gem files will remain installed in /var/lib/gems/1.8/gems/nokogiri-1.5.6 for inspection. Results logged to /var/lib/gems/1.8/gems/nokogiri-1.5.6/ext/nokogiri/gem_make.out An error occured while installing nokogiri (1.5.6), and Bundler cannot continue. Make sure that `gem install nokogiri -v '1.5.6'` succeeds before bundling. root@redtry:~/redmine# gem install nokogiri -v '1.5.6 > ^C root@redtry:~/redmine# gem install nokogiri -v '1.5.6' Building native extensions. This could take a while... ERROR: Error installing nokogiri: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb checking for libxml/parser.h... yes checking for libxslt/xslt.h... no ----- libxslt is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies. ----- *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/ruby1.8 --with-zlib-dir --without-zlib-dir --with-zlib-include --without-zlib-include=${zlib-dir}/include --with-zlib-lib --without-zlib-lib=${zlib-dir}/lib --with-iconv-dir --without-iconv-dir --with-iconv-include --without-iconv-include=${iconv-dir}/include --with-iconv-lib --without-iconv-lib=${iconv-dir}/lib --with-xml2-dir --without-xml2-dir --with-xml2-include --without-xml2-include=${xml2-dir}/include --with-xml2-lib --without-xml2-lib=${xml2-dir}/lib --with-xslt-dir --without-xslt-dir --with-xslt-include --without-xslt-include=${xslt-dir}/include --with-xslt-lib --without-xslt-lib=${xslt-dir}/lib --with-libxslt-config --without-libxslt-config --with-pkg-config --without-pkg-config --with-libxml-2.0-config --without-libxml-2.0-config --with-libiconv-config --without-libiconv-config Gem files will remain installed in /var/lib/gems/1.8/gems/nokogiri-1.5.6 for inspection. Results logged to /var/lib/gems/1.8/gems/nokogiri-1.5.6/ext/nokogiri/gem_make.out root@redtry:~/redmine# apt-get install libxslt-ruby Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libxml-ruby1.8 libxslt-ruby1.8 libxslt1.1 The following NEW packages will be installed: libxml-ruby1.8 libxslt-ruby libxslt-ruby1.8 libxslt1.1 0 upgraded, 4 newly installed, 0 to remove and 1 not upgraded. Need to get 343 kB of archives. After this operation, 1049 kB of additional disk space will be used. Do you want to continue [Y/n]? Get:1 http://security.debian.org/ squeeze/updates/main libxslt1.1 i386 1.1.26-6+squeeze2 [240 kB] Get:2 http://ftp.nl.debian.org/debian/ squeeze/main libxml-ruby1.8 i386 1.1.3-2 [74.8 kB] Get:3 http://ftp.nl.debian.org/debian/ squeeze/main libxslt-ruby1.8 i386 0.9.2-5 [16.1 kB] Get:4 http://ftp.nl.debian.org/debian/ squeeze/main libxslt-ruby all 0.9.2-5 [12.1 kB] Fetched 343 kB in 10s (34.0 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously deselected package libxml-ruby1.8. (Reading database ... 34848 files and directories currently installed.) Unpacking libxml-ruby1.8 (from .../libxml-ruby1.8_1.1.3-2_i386.deb) ... Selecting previously deselected package libxslt1.1. Unpacking libxslt1.1 (from .../libxslt1.1_1.1.26-6+squeeze2_i386.deb) ... Selecting previously deselected package libxslt-ruby1.8. Unpacking libxslt-ruby1.8 (from .../libxslt-ruby1.8_0.9.2-5_i386.deb) ... Selecting previously deselected package libxslt-ruby. Unpacking libxslt-ruby (from .../libxslt-ruby_0.9.2-5_all.deb) ... Setting up libxml-ruby1.8 (1.1.3-2) ... Setting up libxslt1.1 (1.1.26-6+squeeze2) ... Setting up libxslt-ruby1.8 (0.9.2-5) ... Setting up libxslt-ruby (0.9.2-5) ... Counting objects: 1848, done. Compressing objects: 100% (1022/1022), done. Writing objects: 100% (1848/1848), done. Total 1848 (delta 401), reused 1848 (delta 401) root@redtry:~/redmine# gem install nokogiri -v '1.5.6' Building native extensions. This could take a while... ERROR: Error installing nokogiri: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb checking for libxml/parser.h... yes checking for libxslt/xslt.h... no ----- libxslt is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies. ----- *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/ruby1.8 --with-zlib-dir --without-zlib-dir --with-zlib-include --without-zlib-include=${zlib-dir}/include --with-zlib-lib --without-zlib-lib=${zlib-dir}/lib --with-iconv-dir --without-iconv-dir --with-iconv-include --without-iconv-include=${iconv-dir}/include --with-iconv-lib --without-iconv-lib=${iconv-dir}/lib --with-xml2-dir --without-xml2-dir --with-xml2-include --without-xml2-include=${xml2-dir}/include --with-xml2-lib --without-xml2-lib=${xml2-dir}/lib --with-xslt-dir --without-xslt-dir --with-xslt-include --without-xslt-include=${xslt-dir}/include --with-xslt-lib --without-xslt-lib=${xslt-dir}/lib --with-libxslt-config --without-libxslt-config --with-pkg-config --without-pkg-config --with-libxml-2.0-config --without-libxml-2.0-config --with-libiconv-config --without-libiconv-config Gem files will remain installed in /var/lib/gems/1.8/gems/nokogiri-1.5.6 for inspection. Results logged to /var/lib/gems/1.8/gems/nokogiri-1.5.6/ext/nokogiri/gem_make.out root@redtry:~/redmine# apt-get install libxslt1-dev Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libxslt1-dev 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 646 kB of archives. After this operation, 2544 kB of additional disk space will be used. Get:1 http://security.debian.org/ squeeze/updates/main libxslt1-dev i386 1.1.26-6+squeeze2 [646 kB] Fetched 646 kB in 1s (522 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously deselected package libxslt1-dev. (Reading database ... 34924 files and directories currently installed.) Unpacking libxslt1-dev (from .../libxslt1-dev_1.1.26-6+squeeze2_i386.deb) ... Processing triggers for man-db ... Setting up libxslt1-dev (1.1.26-6+squeeze2) ... Counting objects: 1848, done. Compressing objects: 100% (1022/1022), done. Writing objects: 100% (1848/1848), done. Total 1848 (delta 401), reused 1848 (delta 401) root@redtry:~/redmine# gem install nokogiri -v '1.5.6' Building native extensions. This could take a while... Successfully installed nokogiri-1.5.6 1 gem installed Installing ri documentation for nokogiri-1.5.6... Building YARD (yri) index for nokogiri-1.5.6... Installing RDoc documentation for nokogiri-1.5.6... root@redtry:~/redmine# bundle update Fetching gem metadata from http://rubygems.org/......... Fetching gem metadata from http://rubygems.org/......... Fetching gem metadata from http://rubygems.org/.. Fetching gem metadata from http://rubygems.org/.. Using rake (10.0.3) Using i18n (0.6.1) Using multi_json (1.6.1) Using activesupport (3.2.12) Using builder (3.0.0) Using activemodel (3.2.12) Using erubis (2.7.0) Using journey (1.0.4) Using rack (1.4.5) Using rack-cache (1.2) Using rack-test (0.6.2) Using hike (1.2.1) Using tilt (1.3.3) Using sprockets (2.2.2) Using actionpack (3.2.12) Using mime-types (1.21) Using polyglot (0.3.3) Using treetop (1.4.12) Using mail (2.4.4) Using actionmailer (3.2.12) Using arel (3.0.2) Using tzinfo (0.3.35) Using activerecord (3.2.12) Using activeresource (3.2.12) Using metaclass (0.0.1) Using mocha (0.10.5) Using bourne (1.1.2) Using bundler (1.1.4) Using nokogiri (1.5.6) Installing ffi (1.4.0) with native extensions Installing childprocess (0.3.8) Installing rubyzip (0.9.9) Installing websocket (1.0.7) Installing selenium-webdriver (2.29.0) Installing xpath (1.0.0) Installing capybara (2.0.2) Using coderay (1.0.8) Using fastercsv (1.5.5) Using listen (0.7.2) Installing thor (0.17.0) Using guard (1.4.0) Installing test-unit (2.5.4) Using guard-test (0.7.0) Installing rack-ssl (1.3.3) Installing json (1.7.7) with native extensions Installing rdoc (3.12.1) Installing railties (3.2.12) Using jquery-rails (2.0.3) Using mysql (2.8.1) Using net-ldap (0.3.1) Using ruby-openid (2.1.8) Using rack-openid (1.3.1) Installing rails (3.2.12) Using rb-fsevent (0.9.3) Installing rmagick (2.13.2) with native extensions Installing shoulda-context (1.0.2) Installing shoulda-matchers (1.4.2) Installing shoulda (3.3.2) Installing yard (0.8.4.1) Your bundle is updated! Use `bundle show [gemname]` to see where a bundled gem is installed. root@redtry:~/redmine# rake db:migrate RAILS_ENV=production == AddUniqueIndexOnTokensValue: migrating ==================================== -- Adding unique index on tokens, this may take some time... -- add_index(:tokens, :value, {:unique=>true, :name=>"tokens_value"}) -> 0.1779s -> 0.2008s == AddUniqueIndexOnTokensValue: migrated (0.2009s) =========================== == AddProjectsInheritMembers: migrating ====================================== -- add_column(:projects, :inherit_members, :boolean, {:null=>false, :default=>false}) -> 0.0244s == AddProjectsInheritMembers: migrated (0.0245s) ============================= == AddUniqueIndexOnCustomFieldsTrackers: migrating =========================== -- index_exists?(:custom_fields_trackers, [:custom_field_id, :tracker_id]) -> 0.0006s -- remove_index(:custom_fields_trackers, [:custom_field_id, :tracker_id]) -> 0.0109s -- add_index(:custom_fields_trackers, [:custom_field_id, :tracker_id], {:unique=>true}) -> 0.0102s == AddUniqueIndexOnCustomFieldsTrackers: migrated (0.0231s) ================== == AddUniqueIndexOnCustomFieldsProjects: migrating =========================== -- index_exists?(:custom_fields_projects, [:custom_field_id, :project_id]) -> 0.0009s -- remove_index(:custom_fields_projects, [:custom_field_id, :project_id]) -> 0.0126s -- add_index(:custom_fields_projects, [:custom_field_id, :project_id], {:unique=>true}) -> 0.0122s == AddUniqueIndexOnCustomFieldsProjects: migrated (0.0265s) ================== == ChangeUsersLastnameLengthTo255: migrating ================================= -- change_column(:users, :lastname, :string, {:null=>false, :limit=>255, :default=>""}) -> 0.0349s == ChangeUsersLastnameLengthTo255: migrated (0.0350s) ======================== == AddIssuesClosedOn: migrating ============================================== -- add_column(:issues, :closed_on, :datetime, {:default=>nil}) -> 0.1518s == AddIssuesClosedOn: migrated (0.1519s) ===================================== == PopulateIssuesClosedOn: migrating ========================================= == PopulateIssuesClosedOn: migrated (0.0559s) ================================ == RemoveIssuesDefaultFkValues: migrating ==================================== -- change_column_default(:issues, :tracker_id, nil) -> 0.0073s -- change_column_default(:issues, :project_id, nil) -> 0.0068s -- change_column_default(:issues, :status_id, nil) -> 0.0068s -- change_column_default(:issues, :assigned_to_id, nil) -> 0.0068s -- change_column_default(:issues, :priority_id, nil) -> 0.0075s -- change_column_default(:issues, :author_id, nil) -> 0.0079s == RemoveIssuesDefaultFkValues: migrated (0.0437s) =========================== root@redtry:~/redmine# rake tmp:cache:clear root@redtry:~/redmine# rake tmp:sessions:clear root@redtry:~/redmine# /etc/init.d/apache2 restart Restarting web server: apache2apache2: apr_sockaddr_info_get() failed for redtry apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName ... waiting apache2: apr_sockaddr_info_get() failed for redtry apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName . root@redtry:~/redmine#