summaryrefslogtreecommitdiff
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
parent008025c30c5c273d375051c6e369f49552a87501 (diff)
use RUBY_VERSION instead of :platform for Gemfile (since jessie has a really old bundler)
-rw-r--r--Gemfile8
-rw-r--r--Gemfile.lock8
2 files changed, 6 insertions, 10 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
##
diff --git a/Gemfile.lock b/Gemfile.lock
index a1a2aa6..71ec0fc 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -78,7 +78,6 @@ GEM
simple_form (~> 2.1.0)
cliver (0.3.2)
coderay (1.1.0)
- columnize (0.9.0)
couchrest (1.1.3)
mime-types (~> 1.15)
multi_json (~> 1.0)
@@ -106,12 +105,6 @@ GEM
rails (>= 3, < 5)
daemons (1.1.9)
debug_inspector (0.0.2)
- debugger (1.6.8)
- columnize (>= 0.3.1)
- debugger-linecache (~> 1.2.0)
- debugger-ruby_core_source (~> 1.3.5)
- debugger-linecache (1.2.0)
- debugger-ruby_core_source (1.3.7)
diff-lcs (1.2.5)
erubis (2.7.0)
eventmachine (1.0.3)
@@ -284,7 +277,6 @@ DEPENDENCIES
couchrest_model (~> 2.0.0)
couchrest_session_store (= 0.3.0)
cucumber-rails
- debugger
factory_girl_rails
fake_braintree
faker