diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2013-03-11 15:48:30 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2013-03-11 15:51:23 -0300 |
commit | de1354f0ba069e704f3ea465de073e8f1ca3df2b (patch) | |
tree | aeb07b614bccef537f04f00a7d944c3af48a866d /Gemfile | |
parent | 99a8252768f196679d6175d58e0a8936b500e11d (diff) | |
download | rails-de1354f0ba069e704f3ea465de073e8f1ca3df2b.tar.gz rails-de1354f0ba069e704f3ea465de073e8f1ca3df2b.tar.bz2 rails-de1354f0ba069e704f3ea465de073e8f1ca3df2b.zip |
Use platforms instead of conditionals in Gemfile
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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 |