]> source.dussan.org Git - redmine.git/commitdiff
install capybara on only Ruby 1.9.3 or higher (#12822)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 9 May 2013 13:03:28 +0000 (13:03 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 9 May 2013 13:03:28 +0000 (13:03 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11806 e93f8b46-1217-0410-a6f0-8f06a7374b81

Gemfile

diff --git a/Gemfile b/Gemfile
index 7ce99f851266dc946dc527acc0def48bc7a3ed0b..a94a97b2696b9ad64bedd140f4ad6c3476862ec0 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -79,7 +79,7 @@ end
 group :test do
   gem "shoulda", "~> 3.3.2"
   gem "mocha", "~> 0.13.3"
-  platforms :mri_19, :mingw_19 do
+  if RUBY_VERSION >= '1.9.3'
     gem "capybara", "~> 2.1.0"
     gem "selenium-webdriver"
   end