[DRE-maint] Redmine on Debian Testing (wheezy) installation

Szabó Gergely Gergely.Szabo at knorr-bremse.com
Mon Mar 28 17:08:26 UTC 2011


Hello,

I've found your address on the debian site as the primary Redmine maintainer.
Please direct me to the right forum if I should not address you directly.

I'm having some trouble installing Redmine on a fresh Debian Testing machine.
The installed Redmine version would be 1.0.5-1.


Before starting I've already had Apache2 and MySQL installed:
Server version: Apache/2.2.17 (Debian)
mysql  Ver 14.14 Distrib 5.1.49, for debian-linux-gnu (i486) using readline 6.1


Then I install the redmine-mysql package, no problem:
Setting up redmine-mysql (1.0.5-1) ...


Then I attempt to install Redmine (I'm root all the time):
# apt-get install redmine
...
The following NEW packages will be installed:
  libbreakpoint-ruby1.8 libmmap-ruby1.8 libruby1.8-extras rails rails-ruby1.8 rake redmine ruby rubygems1.8 
>>>>>>(Please note the lack of passenger!!!)
...
Do you want to continue [Y/n]? Y
...
Creating config file /etc/redmine/default/database.yml with new version
rake aborted!
uninitialized constant ActiveSupport::Dependencies::Mutex
/usr/share/redmine/Rakefile:10
(See full trace by running task with --trace)
dpkg: error processing redmine (--configure):
 subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
                                      Errors were encountered while processing:
 redmine
E: Sub-process /usr/bin/dpkg returned an error code (1)


Then, as suggested by dpkg:
# cd /usr/share/redmine
# rake --trace
(in /usr/share/redmine)
rake aborted!
uninitialized constant ActiveSupport::Dependencies::Mutex
/usr/lib/ruby/1.8/rake.rb:2503:in `const_missing'
/usr/lib/ruby/1.8/active_support/dependencies.rb:55
/usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
/usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/1.8/active_support.rb:56
/usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
/usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require'
/usr/share/redmine/vendor/rails/railties/lib/tasks/misc.rake:18
/usr/share/redmine/vendor/rails/railties/lib/tasks/rails.rb:4:in `load'
/usr/share/redmine/vendor/rails/railties/lib/tasks/rails.rb:4
/usr/share/redmine/vendor/rails/railties/lib/tasks/rails.rb:4:in `each'
/usr/share/redmine/vendor/rails/railties/lib/tasks/rails.rb:4
/usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
/usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require'
/usr/share/redmine/Rakefile:10
/usr/lib/ruby/1.8/rake.rb:2383:in `load'
/usr/lib/ruby/1.8/rake.rb:2383:in `raw_load_rakefile'
/usr/lib/ruby/1.8/rake.rb:2017:in `load_rakefile'
/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:2016:in `load_rakefile'
/usr/lib/ruby/1.8/rake.rb:2000:in `run'
/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:1998:in `run'
/usr/bin/rake:28

Please note, that /ect/redmine/default/database.yml is aactually there and its contents is OK too.
But session.yml is missing.

After the failed installation here are the versions of some of my related programs:
# ruby -v
ruby 1.8.7 (2011-02-18 patchlevel 334) [i486-linux]
# gem -v
1.6.2
# rails -v
Rails 2.3.5

Actually, http://www.redmine.org/projects/redmine/wiki/RedmineInstall states:
RubyGems 1.3.1 or higher is required (Rails 2.3.5 will fail with RubyGems 1.5.0 and later, stick to previous versions of RubyGems)

So is the problem that Debian Testing's RubyGems is too new (1.6.2) ???


Do you have any ideas how I could go on?


Thanks and Best regards
Gergely Szabó

This transmission is intended solely for the addressee and contains confidential information.
If you are not the intended recipient, please immediately inform the sender and delete the message and any attachments from your system. 
Furthermore, please do not copy the message or disclose the contents to anyone unless agreed otherwise. To the extent permitted by law we shall in no way be liable for any damages, whatever their nature, arising out of transmission failures, viruses, external influence, delays and the like.




More information about the Pkg-ruby-extras-maintainers mailing list