aboutsummaryrefslogtreecommitdiffstats
path: root/Gemfile
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2013-03-11 15:48:30 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2013-03-11 15:51:23 -0300
commitde1354f0ba069e704f3ea465de073e8f1ca3df2b (patch)
treeaeb07b614bccef537f04f00a7d944c3af48a866d /Gemfile
parent99a8252768f196679d6175d58e0a8936b500e11d (diff)
downloadrails-de1354f0ba069e704f3ea465de073e8f1ca3df2b.tar.gz
rails-de1354f0ba069e704f3ea465de073e8f1ca3df2b.tar.bz2
rails-de1354f0ba069e704f3ea465de073e8f1ca3df2b.zip
Use platforms instead of conditionals in Gemfile
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Gemfile b/Gemfile
index beb89247c3..01ee898780 100644
--- a/Gemfile
+++ b/Gemfile
@@ -27,10 +27,13 @@ gem 'dalli', '>= 2.2.1'
local_gemfile = File.dirname(__FILE__) + "/.Gemfile"
instance_eval File.read local_gemfile if File.exists? local_gemfile
-platforms :mri do
- group :test do
- gem 'ruby-prof', '~> 0.11.2' if RUBY_VERSION < '2.0'
- gem 'debugger' if !ENV['TRAVIS'] && RUBY_VERSION < '2.1'
+group :test do
+ platforms :mri_19 do
+ gem 'ruby-prof', '~> 0.11.2'
+ end
+
+ platforms :mri_19, :mri_20 do
+ gem 'debugger' if !ENV['TRAVIS']
end
end