Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Santiago Pastorino & Alexis Mas
22 lines (17 sloc) 0.747 kB
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
# avaialable, so prepare yourself for a yak shave when this breaks.
c_platforms = Bundler::Dsl::VALID_PLATFORMS.dup.delete_if do |platform|
platform =~ /jruby/
end
# 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 'memcache-client'
gem 'thin', :platforms => c_platforms
end
Jump to Line
Something went wrong with that request. Please try again.