[DRE-commits] [SCM] redmine.git branch, master, updated. debian/1.3.0+dfsg1-2-10-gf713ced
Jérémy Lal
kapouer at melix.org
Sat Feb 11 18:28:46 UTC 2012
The following commit has been merged in the master branch:
commit 8caf6d9cb6b1617519d5840167fe90feec3316de
Author: Jérémy Lal <kapouer at melix.org>
Date: Sat Feb 11 16:47:36 2012 +0100
Rephrase debian/README.source.
diff --git a/debian/README.source b/debian/README.source
index 43d67c6..76d66fc 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -5,15 +5,13 @@ RAKE TEST
2. edit /etc/redmine/test/database.yml, copy 'production' section and rename it 'test' (not needed with redmine 1.2.0 configuration.yml which has the default section ?)
-3. install package dependencies : ruby-mocha
- The version of ruby-shoulda (3) is not compatible with redmine test suite,
- which uses version 2.10.3. Note that having ruby-shoulda installed might prevent redmine from using the gem-installed copy (if you get errors like undefined method `should...).
-
-4. install gem dependencies :
- gem install edavis10-object_daddy
- gem install shoulda -v 2.10.3 --no-ri --no-rdoc
+3. gem dependencies are described in /usr/share/redmine/config/environments/test.rb.
+ Either install matching debian packages (ruby-mocha, ruby-shoulda),
+ or, if the tests output "missing method" errors,
+ 'gem install' the required versions.
+ It is usually a bad idea to install both the debian package and the gem one.
-5. run tests :
+4. run tests :
cd /usr/share/redmine
mkdir -p tmp/test
X_DEBIAN_SITEID=test RAILS_ENV=test rake test:scm:setup:all
--
redmine.git
More information about the Pkg-ruby-extras-commits
mailing list