Skip to content

Commit 39d50b5

Browse files
author
Sam Phippen
committed
Shout out to puma
1 parent 5df47f0 commit 39d50b5

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Gemfile-rails-dependencies

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,16 @@ when /master/
1313
gem 'i18n', :git => 'git://github.com/svenfuchs/i18n.git', :branch => 'master'
1414
gem 'sprockets', :git => 'git://github.com/rails/sprockets.git', :branch => 'master'
1515
gem 'sprockets-rails', :git => 'git://github.com/rails/sprockets-rails.git', :branch => 'master'
16-
gem 'puma', :git => 'git://github.com/puma/puma', :branch => 'master'
16+
if RUBY_VERSION >= "1.9.3"
17+
gem 'puma', :git => 'git://github.com/puma/puma', :branch => 'master'
18+
end
1719
when /stable$/
1820
gem_list = %w[rails railties actionmailer actionpack activerecord activesupport]
1921
gem_list << 'activejob' if version > '4-1-stable'
2022
gem_list << 'actionview' if version > '4-0-stable'
21-
gem_list << 'puma' if version > '5-0-stable'
23+
if RUBY_VERSION >= "1.9.3"
24+
gem_list << 'puma' if version > '5-0-stable'
25+
end
2226

2327
gem_list.each do |rails_gem|
2428
gem rails_gem, :git => "git://github.com/rails/rails.git", :branch => version
@@ -36,7 +40,7 @@ when nil, false, ""
3640
else
3741
gem "rails", version
3842

39-
if version >= '5-1-stable'
43+
if version >= '5-1-stable' && RUBY_VERSION >= "1.9.3"
4044
gem "puma"
4145
end
4246
end

0 commit comments

Comments
 (0)