summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2020-02-09 16:54:23 +1300
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2020-02-09 17:13:59 +1300
commitf2ad3171f77c953cc2ba82b37942ffc8ecafd40f (patch)
tree654c1e13ac3b62aceaa4229f5efaf0a1901100e3
parentcf0eff625452312f2e4026c51efb97ee9b87b08b (diff)
downloadrack-f2ad3171f77c953cc2ba82b37942ffc8ecafd40f.tar.gz
Tidy up Gemfile.
-rw-r--r--Gemfile16
1 files changed, 2 insertions, 14 deletions
diff --git a/Gemfile b/Gemfile
index dc075a4c..4b6c0970 100644
--- a/Gemfile
+++ b/Gemfile
@@ -4,24 +4,12 @@ source 'https://rubygems.org'
gemspec
-# What we need to do here is just *exclude* JRuby, but bundler has no way to do
-# this, because of some argument that I know I had with Yehuda and Carl years
-# ago, but I've since forgotten. Anyway, we actually need it here, and it's not
-# available, so prepare yourself for a yak shave when this breaks.
-c_platforms = Bundler::Dsl::VALID_PLATFORMS.dup.delete_if do |platform|
- platform =~ /jruby/
-end
-
gem "rubocop", require: false
-# Alternative solution that might work, but it has bad interactions with
-# Gemfile.lock if that gets committed/reused:
-# c_platforms = [:mri] if Gem.platforms.last.os == "java"
-
group :extra do
- gem 'fcgi', platforms: c_platforms
+ gem 'fcgi', platform: :mri
gem 'dalli'
- gem 'thin', platforms: c_platforms
+ gem 'thin', platform: :mri
end
group :doc do