summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-02-02 10:38:44 -0800
committerelijah <elijah@riseup.net>2016-02-02 10:38:44 -0800
commit0ba489bdb01bb2f0536d2603bd389d448712e336 (patch)
tree90f643f3ff45bccb11f98aa0763472301a10d140 /Gemfile
parent008025c30c5c273d375051c6e369f49552a87501 (diff)
use RUBY_VERSION instead of :platform for Gemfile (since jessie has a really old bundler)
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Gemfile b/Gemfile
index a9215a6..0399117 100644
--- a/Gemfile
+++ b/Gemfile
@@ -96,8 +96,12 @@ group :development do
end
group :test, :debug do
- gem 'debugger', :platforms => :mri_19
- gem 'byebug', :platforms => :ruby_21
+ # bundler on jessie doesn't support `:platforms => :ruby_21`
+ if RUBY_VERSION < "2.0"
+ gem 'debugger'
+ else
+ gem 'byebug'
+ end
end
##