summaryrefslogtreecommitdiffstats
path: root/Gemfile
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-07-31 02:32:40 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-07-31 02:32:40 +0000
commitf50da1593e250015c240df363ff57c3e434143ec (patch)
tree028dd87e74df328e9a9db1b9b2c8ad2badeceafb /Gemfile
parent96306f9dff1f0a89b40371185224d95e622d6cf4 (diff)
downloadredmine-f50da1593e250015c240df363ff57c3e434143ec.tar.gz
redmine-f50da1593e250015c240df363ff57c3e434143ec.zip
Gemfile: prevent "rake db:migrate RAILS_ENV=test" causes exception on Ruby 1.9.3 (#10320, #10818)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10137 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index d3860cb53..4e7ac9d52 100644
--- a/Gemfile
+++ b/Gemfile
@@ -74,6 +74,8 @@ end
group :test do
gem "shoulda", "~> 2.11"
+ # Shoulda does not work nice on Ruby 1.9.3 and seems to need test-unit explicitely.
+ gem "test-unit", :platforms => [:mri_19]
gem "mocha"
end